代码搜索结果

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

chap5_3mf.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:5 gs=-[(x+pi/6-(i-1)*pi/12)/(pi/24)].^2; u=exp(gs); hold on; plot(x,u); end xla

chap5_3s.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

reinf2_19.m

%%%%%%%%%%% Reinforcement Problem 2.19 %%%%%%%%%% % Discrete-Time Control Problems using % % MATLAB and the Control System Toolbox % % by J.H. Chow, D.K. Frederick, & N.W. Chbat %

reinf5_3.m

%%%%%%%%%%% Reinforcement Problem 5.3 %%%%%%%%%%% % Discrete-Time Control Problems using % % MATLAB and the Control System Toolbox % % by J.H. Chow, D.K. Frederick, & N.W. Chbat

reinf5_4.m

%%%%%%%%%%% Reinforcement Problem 5.4 %%%%%%%%%%% % Discrete-Time Control Problems using % % MATLAB and the Control System Toolbox % % by J.H. Chow, D.K. Frederick, & N.W. Chbat

drawsatelliteorbit.m

function [x1,y1,z1]=DrawSatelliteOrbit() a=26560; e=0.02; E=[0:0.1:2*pi]; x=a*(cos(E)-e); y=a*sqrt((1-e^2))*sin(E); z=0*E; DtoR=2*pi/360; %转化为弧度单位 A1=[32.8 92.8 152.8 212.6 272.8 332.8]; for

tanhuang2.m

k0=1.; hc=4; d=[1.:0.01:2]; %d=[3.96 4.22] a1=tan(pi*(d+0.25)./(2*hc)); a2=cot(pi*(d+0.25)./(2*hc)); y=(a1-a2)*2*k0*hc./pi; y=y./9.8*8; plot(d,y) var=(tan(pi*(d+0.25)./(2*hc))).^2; b

pp_zfj.m

%产生信号序列 n=linspace(-pi,pi,1024); x=2*sin(n*40)+cos(n*100); figure,plot(x); title('输入信号'); %计算序列的DFT y1=fft(x); figure,plot(abs(y1)); grid on title('频谱'); %计算序列的PSD y2=conj(y1); Ppw=y1.*y2/

hrollfcoef.m

% % hrollfcoef.m % % Generate coefficients of Nyquist filter % %programmed by Huangyong % function [xh]=hrollfcoef(irfn,ipoint,sr,alfs,ncc) %************************* Variables ***********

hrollfcoef.m

% % hrollfcoef.m % % Generate coefficients of Nyquist filter % %programmed by Huangyong % function [xh]=hrollfcoef(irfn,ipoint,sr,alfs,ncc) %************************* Variables ***********