代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/223338/14644825
m x2t.m
function T=x2t(x,str)
% T=x2t(x,str)
%
% Converts a generalized position vector x, which contains
% position and orientation vectors of B with respect to A,
% into transformation matrix T betw
www.eeworm.com/read/223144/14654079
txt 3_1.txt
(1)
sqrt(pow(sin(x),2.5))
(2)
(a*x+(a+x)/(4*a))/2
(3)
pow(c,x*x)/sqrt(2*M_PI) //M_PI为BC中math.h中的圆周率常数
www.eeworm.com/read/122580/14682292
c 矩阵转换.c
void trans(int *p,int n)
{
int i,j,temp;
int *pi,*pj;
for(i=0;i
www.eeworm.com/read/222611/14683809
m chap3_11f.m
function [y]=func(x1,x2,x3)
for l1=1:1:3
gs1=-[(x1+pi/6-(l1-1)*pi/6)/(pi/12)]^2;
u1(l1)=exp(gs1);
end
for l2=1:1:3
gs2=-[(x2+pi/6-(l2-1)*pi/6)/(pi/12)]^2;
u2(l2)=exp(gs2);
end
www.eeworm.com/read/122468/14688172
m exp2_4_.m
close all
clc
clear
%定义时间范围
t=[0:pi/20:9*pi];
hold on %允许在同一坐标系下绘制不同的图形
plot(t,sin(t),'r:*')
plot(t,cos(t))
plot(t,-cos(t),'k')
grid on %在所画出的图形坐标中添加栅格,注意用在plot之后
hold off %覆盖旧图
www.eeworm.com/read/122468/14688187
m exp2_4.m
close all
clc
clear
%定义时间范围
t=[0:pi/20:9*pi];
figure(1) %选择图像
plot(t,sin(t),'r:*')
grid on %在所画出的图形坐标中添加栅格,注意用在plot之后
grid off %删除栅格
figure(2)
plot(t,cos(t))
grid on
grid off
www.eeworm.com/read/122158/14717747
m 实验一(3).m
N=45;
n=0:N-1;
t=0.01*n;
f=2*pi*n/N;
xt=2*sin(4*pi*t)+5*cos(8*pi*t);
xk=fft(xt);
Axk=abs(xk);
subplot(3,1,1);
stem(f,Axk);
xlabel('k');
ylabel('X(k)');
title('the DFT of the Signal');
www.eeworm.com/read/221159/14757007
m juchibo.m
function f=juchibo(n)
%用三角函数级数合成锯齿波
f=zeros(size(i));
y=zeros(size(i));
for k=1:n
i=-2*pi:0.01:2*pi;
f=((-1)^(k+1))*(2/k)*sin(k*i)+f;
end
figure(1);
plot(i,f);
title('锯齿波的合成');
www.eeworm.com/read/221158/14757017
m exe4_12.m
alfa=input('alfa= ');
t=0:0.01:10;
figure(1);
for N=1:4
subplot(2,2,N);
x=sin(t);y=sin(N*t+alfa);
plot(x,y)
end
clear all;
t=0:0.01:10;
N=2;
alfa=[0 pi/3 pi/2 pi];
figure(2)
www.eeworm.com/read/220921/14783706
cpp p1-14.cpp
#include
const double PI=3.1416; //声明常量(const变量)PI为3.1416
main()
{
//声明3个变量
double r=3,l,s;
//计算圆的周长
l=2*PI*r;
cout