代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/492326/6421560
m ex5_15.m
subplot(2,2,1);
ezplot('x^2+y^2-9');axis equal
subplot(2,2,2);
ezplot('x^3+y^3-5*x*y+1/5')
subplot(2,2,3);
ezplot('cos(tan(pi*x))',[ 0,1])
subplot(2,2,4);
ezplot('8*cos(t)','4*sqrt(2)*sin(t)',[
www.eeworm.com/read/492326/6421567
m ex5_19.m
t=0:pi/20:2*pi;
[x,y,z]= cylinder(2+sin(t),30);
subplot(2,2,1);
surf(x,y,z);
subplot(2,2,2);
[x,y,z]=sphere;
surf(x,y,z);
subplot(2,1,2);
[x,y,z]=peaks(30);
surf(x,y,z);
www.eeworm.com/read/492363/6421869
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/491122/6440908
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/490601/6449548
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/490407/6455882
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/490407/6455890
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/490082/6458162
m sinecomp.m
function sinecomp(n)
%sinecomp(n) where n is the number of terms used in 'mysine'
%this m-file tests the difference between the function [x]=mysine(theta,n)
%and the built-in MATLAB function [x]=si
www.eeworm.com/read/490168/6459953
m firfilterdesign.m
wp=0.2;ws=0.4;Rp=1;As=20; % 定义滤波器参数(可修改)
[n,wc]=buttord(wp,ws,Rp,As); % 计算滤波器阶次和3dB截止频率
[b,a]=butter(n,wc); % 设计巴特沃斯滤波器
w=[0:pi/200:pi];
www.eeworm.com/read/489830/6462326
m hr_type3.m
function[Hr,w,c,L]=hr_type3(h);
M=length(h);
L=(M-1)/2;
c=[2*h(L+1:-1:1)];
n=[0:1:L];
w=[0:1:500]'*2*pi/500;
Hr=sin(w*n)*c';