代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/163199/10171043
m 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
www.eeworm.com/read/163199/10171050
m 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
www.eeworm.com/read/163199/10171052
m 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
www.eeworm.com/read/163199/10171149
m 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
www.eeworm.com/read/359005/10171965
m pimf.m
function y = pimf(x, params)
%PIMF Pi-shaped curve membership function.
% PIMF(X, PARAMS) returns a matrix that is the Pi-shaped
% membership function evaluated at X. PARAMS = [A B C D] is a 4-
www.eeworm.com/read/359005/10172195
fis sltbu.fis
% $Revision: 1.1 $
[System]
Name = 'sltbu'
Type = 'sugeno'
NumInputs = 3
NumOutputs = 1
NumRules = 2
AndMethod = 'prod'
OrMethod = 'max'
ImpMethod = 'prod'
AggMethod = 'max'
DefuzzMethod = 'wtaver'
[
www.eeworm.com/read/163163/10172644
m 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
www.eeworm.com/read/163160/10172845
m 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
www.eeworm.com/read/358904/10176210
m ellipse.m
function z = ellipse(ratio,nbpo2);
beta = 0:pi/nbpo2:2*pi;
el =0.5*(1+ real(exp(i*beta))+i*ratio*imag(exp(i*beta))).';
z = [real(el) imag(el)];
www.eeworm.com/read/163075/10176894
m example6_2.m
t=0:pi/100:4*pi;
s=sin(t+3*pi/4);
plot(s);
title('原始信号s');
%====================================
%对s进行小波分解:db1 3层
[c,l]=wavedec(s,3,'db1');
%====================================
%提取小波分解的低频系数a