代码搜索结果

找到约 10,000 项符合 Raspberry Pi 的代码

gngauss.m

function [gsrv1,gsrv2]=gngauss(m,sgma) if nargin==0, m=0;sgma=1; elseif nargin==1 sgma=m;m=0; end; u=rand; z=sgma*(sqrt(2*log(1/(1-u)))); u=rand; gsrv1=m+z*cos(2*pi*u); gsrv2=m+z*sin

chap9_7i.m

%Flight Simulator Servo System clear all; close all; J=2; b=0.5; kv=2; kp=15; kd=6; f1=(b+kd*kv); f2=J; F=1; A=1; t=[0:0.001:10]'; %Simulation time r=A*sin(2*pi*F*t); dr=2*pi

chap10_5plant.m

%S-function for continuous state equation function [sys,x0,str,ts]=s_function(t,x,u,flag) switch flag, %Initialization case 0, [sys,x0,str,ts]=mdlInitializeSizes; case 1, sys=mdlDer

chap10_6s.m

function [sys,x0,str,ts] = spacemodel(t,x,u,flag) switch flag, case 0, [sys,x0,str,ts]=mdlInitializeSizes; case 1, sys=mdlDerivatives(t,x,u); case 3, sys=mdlOutputs(t,x,u); case

chap10_1s.m

function [sys,x0,str,ts] = spacemodel(t,x,u,flag) switch flag, case 0, [sys,x0,str,ts]=mdlInitializeSizes; case 3, sys=mdlOutputs(t,x,u); case {2,4,9} sys=[]; otherwise erro

chap10_5s.m

function [sys,x0,str,ts] = spacemodel(t,x,u,flag) switch flag, case 0, [sys,x0,str,ts]=mdlInitializeSizes; case 3, sys=mdlOutputs(t,x,u); case {2,4,9} sys=[]; otherwise erro

chap3_10plot.m

clear all; close all; L1=-pi/6; L2=pi/6; L=L2-L1; T=L*1/1000; x=L1:T:L2; figure(1); for i=1:1:3 gs=-[(x+pi/6-(i-1)*pi/6)/(pi/12)].^2; u=exp(gs); hold on; plot(x,u); end xlab

eyespic2.m

%升余弦滚降系统(2径)的眼图 clear all close all N=2^14; %采样点数 L=32; %每码元采样点数 M=N/L; %码元数 Rb=2; %码速率 Ts=1/Rb; %码元间隔 dt=Ts/L; %时域采样间隔 df=1/(N*dt); %频域采样间隔 d=16; %半个码元采样点数 T=N*dt; %截短时宽 Bs=N*

c2cxrad2.mac

****************************************************************************** * FILE: c25cxrad2.mac --> macro file for radix 2 fft's based on 320c5x * *

lijian.m

n=1:1024; x=cos(0.1*2*pi*n); %tfrsp(x'); %tfrwv(x'); %tfrpwv(x'); tfrcw(x') %tfrspwv(x');