代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/429840/8786692
m examp3_30.m
f=inline('2/sqrt(pi)*exp(-x.^2)','x');
f=inline('2/sqrt(pi)*exp(-x.^2)','x');
y=quad(f,0,1.5) % 用 inline 函数定义被积函数
y=quad('c3ffun',0,1.5) % 用 m 函数定义被积函数
syms
www.eeworm.com/read/429840/8786721
m examp2_25.m
t=0:.2:2*pi; y=sin(t); % 先生成绘图用数据
subplot(2,2,1), stairs(t,y) % 分割窗口,在左上角绘制阶梯曲线
subplot(2,2,2), stem(t,y) % 火柴杆曲线绘制
subplot(2,2,3), bar(t,y) % 直方图绘制
subplot(2,2,4), semilogx(t,y) % 横坐标为对数的曲线
www.eeworm.com/read/429840/8786849
m examp10_20.m
t=0:0.03:2*pi; y=sin(t.^2); plot(t,y)
a=1:32; Z=cwt(y,a,'mexh','plot'); % 绘制绝对值图
surf(t,a,Z); shading flat; axis([0 2*pi,0,32,min(Z(:)) max(Z(:))])
www.eeworm.com/read/429840/8786955
m examp8_5.m
x=[0:3*pi/2/200:3*pi/2]; y=cos(15*x);
I=quadspln(x,y,0,3*pi/2)
x0=[0:3*pi/2/1000:3*pi/2]; y0=cos(15*x0);
y1=interp1(x,y,x0,'spline'); plot(x,y,x0,y1,':')
www.eeworm.com/read/385641/8795181
m fir.m
clear all
clc
n=0:127; N=length(n); % When N become bigger,bigger precision
n1=0:255; N1=length(n1);
M=(N1-N)/2;
w=2*pi*[0:1/(N1-1):1];
wc=0.2*pi; % cutoff frequency
alpha=(N-1)/2;
w_1=boxca
www.eeworm.com/read/429682/8795403
m gamicheval.m
function [sol,val] = gaMichEval(sol,options)
val = 21.5 + sol(1) * sin(4*pi*sol(1)) + sol(2)*sin(20*pi*sol(2));
%G=zeros(0);
%val = sqrt(sol(1)) * sin(2*sol(1)) + sqrt(sol(1))*cos(5*sol(1))+5;
www.eeworm.com/read/285982/8795986
m gngauss.m
function grsv=gngauss(R,sgma)
if(nargin==0)
R=0;
sgma=1;
elseif(nargin==1)
sgma=R;
R=0;
end
U=rand;
z=sgma*(sqrt(2*log(1/(1-U))));
U=rand;
grsv(1)=R+z*cos(2*pi*U);
grsv(2)=
www.eeworm.com/read/385582/8797949
m shili05.m
function shili05
h0=figure('toolbar','none',...
'position',[200 150 450 250],...
'name','实例05');
t=0:pi/10:2*pi;
[x,y]=meshgrid(t);
subplot(2,2,1)
plot(sin(t),cos(t))
axis equal
sub
www.eeworm.com/read/385582/8798039
m shili06.m
function shili06
h0=figure('toolbar','none',...
'position',[200 150 450 400],...
'name','实例06');
t=0:pi/10:2*pi;
h=plot(t,sin(t));
xlabel('t=0到2\pi','fontsize',16);
ylabel('sin(t)','fon
www.eeworm.com/read/429621/8798223
m m2.m
% M-file for Project 2 on space vectors in Chapter 5.
% m2.m prompts the user for the values of m, n and attenuation
% factor used in the SIMULINK file s2.m
% It also plots the results of th