代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/439446/7708704
m p3_1.m
% Program P3_1
% Evaluation of the DTFT
clf;
% Compute the frequency samples of the DTFT
w = -4*pi:8*pi/511:4*pi;
num = [2 1];den = [1 -0.6];
h = freqz(num, den, w);
% Plot the DTFT
subplot(2,1,1)
pl
www.eeworm.com/read/439271/7713468
m chap4_9ctrl.m
function [sys,x0,str,ts] = MIMO_Tong_s(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 {
www.eeworm.com/read/439271/7713610
m chap5_10.m
%Iterative learning control for mobile robot path-tracking
clear all;
close all;
ts=0.001; %Sample time
for k=1:1:2001
xd(k)=cos((k-1)*pi*ts);
yd(k)=sin((k-1)*pi*ts
www.eeworm.com/read/377646/7715238
m exa060702_2.m
%--------------------------------------------------------------------------
% exa060702_2 , for example 6.6.2 and 6.7.2;
% to test buttord.m and butter.m;
% to design a Butterworth Bandpass digital
www.eeworm.com/read/377646/7715244
m exa020502.m
%-------------------------------------------------------------------------
% exa020502.m, for example 2.5.2 and fig 2.5.6,
%------------------------------------------------------------------------
www.eeworm.com/read/377646/7715279
m exa030202.m
%----------------------------------------------------------------------------
% exa030202, for example 3.2.2 and fig 3.2.4
% to explain how to unwrap the phase
%------------------------------------
www.eeworm.com/read/438810/7726281
c 1cpdv.c
#include "math.h"
void cpdv(pr,pi,m,qr,qi,n,sr,si,k,rr,ri,l)
int m,n,k,l;
double pr[],pi[],qr[],qi[],sr[],si[],rr[],ri[];
{ int i,j,mm,ll;
double a,b,c,d,u,v;
void cmul(doubl
www.eeworm.com/read/438661/7728583
m squareroot.m
function z=squareroot(T,alpha,x)
t=-5.*T;
for i=1:101
t=t+0.1.*T;
if t==0
y(i)=1;
else
y(i)=4.*alpha.*(cos((1+alpha).*pi.*t./T)+sin((1-alpha).
www.eeworm.com/read/438661/7728617
m rsquareroot.m
function z=rsquareroot(T,alpha)
t=-5.*T:0.1.*T:5.*T;
y=4.*alpha.*(cos((1+alpha).*pi.*t./T)+sin((1-alpha).*pi.*t./T)./(4.*alpha.*t./T))./(pi.*square(T).*(1-(4.*alpha.*t./T).^2));
x=
www.eeworm.com/read/438661/7728618
m xrc.m
function [y]=xrc(f,alpha,t)
if(abs(f)>((1+alpha)/(2*t))),
y=0;
elseif(abs(f)>((1-alpha)/(2*t))),
y=(t/2)*(1+cos((pi*t/alpha)*(abs(f)-(1-alpha)/(2*t))));
else
y=t;
end;