代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
ex312.m
%*********************************************************
%程序:EX312.M
%功能:坐标轴设置函数axis使用实例
%*********************************************************
close all %关闭所有窗口
subplot(1,3,1)
s2_10_sample.m
%标准信号,高频采样
tmax = 2;
st = [0:0.0001:tmax]; %时域显示范围[0:tmax]
sx = 2*cos(2*pi*1*st)+2*cos(2*pi*4*st)+cos(2*pi*10*st);
%测试采样定理(最高频率fmax=10Hz)
flag =1; %1:一阶保持;0:零阶保持
N = 4096; %变换点数:2的幂次
Fs
tongbufadianji.m
% 编写建立自激过程微分方程的M—函数
% 将该M—函数定义为sh_ge_se_ex_ode(shunt_generator_self_excited_ode)
function dydt=tongbufadianji(t,y)
% 首先指定全局变量
%global a1 a2 a3 a4 Rf
% 下面输入电机基本数据:
r=2.9069E-03,Rfd=5.9013E-04
sh_ge_se_ex_ode.m
% 编写建立自激过程微分方程的M—函数
% 将该M—函数定义为sh_ge_se_ex_ode(shunt_generator_self_excited_ode)
function dydt=tongbufadianji(t,y)
% 首先指定全局变量
%global a1 a2 a3 a4 Rf
% 下面输入电机基本数据:
r=.02282,Rfd=.00255,Rkd=.01
ellipse.asv
clear all
close all
clc
Fs=2000*pi;
Rp=0.5;
Rs=60;
typeo=1;
% switch typeo
% case 1
% type='bandpass';
% case 2
% type='stop';
% case 3
% type='high';
% case 4
% type=
chebyi.asv
clear all
close all
clc
nfft=256;
Rp=0.3;
Rs=50;
typeo=3;
% switch typeo
% case 1
% type='bandpass';
% case 2
% type='stop';
% case 3
% type='high';
% case 4
% type='l
ellipse.m
clear all
close all
clc
Rp=0.2;
Rs=40;
typeo=2;
% switch typeo
% case 1
% type='bandpass';
% case 2
% type='stop';
% case 3
% type='high';
% case 4
% type='low';
% end
chebyii.m
clear all
close all
clc
nfft=256;
Rp=0.3;
Rs=60;
typeo=2;
% switch typeo
% case 1
% type='bandpass';
% case 2
% type='stop';
% case 3
% type='high';
% case 4
% type='low
butterworth.asv
clear all
clc
close all
Rp=1;
Rs=30;
typeo=3;
% switch typeo
% case 1
% type='bandpass';
% case 2
% type='stop';
% case 3
% type='high';
% case 4
% type='low';
% end
butterworth.m
clear all
clc
close all
Rp=1;
Rs=30;
typeo=1;
% switch typeo
% case 1
% type='bandpass';
% case 2
% type='stop';
% case 3
% type='high';
% case 4
% type='low';
% end