代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
exa060701_3.m
%-----------------------------------------------------------------------------
% exa060701_3.m , for example 6.7.1 and 6.5.1
% to test butter.m
%---------------------------------------------------
exa060701_2.m
%-----------------------------------------------------------------------------
% exa060701_2.m , for example 6.7.1 and 6.5.1
% to test buttord,lp2lp,bilinear ;
% to design Low-pass DF with s=2/Ts[(
exa100800_corrcoef.m
%------------------------------------------------------------------------
% exa100800_corrcoef.m,
% to test corrcoef.m ;
%------------------------------------------------------------------------
untitled.m
%sjbh.m
function sjbh1(m)
x=-1:0.01:10;
y1=sin(x);
plot(x,y1)
axis([-1 10 -2 2])
grid
legend('sin(x)')
pause(2)
legend off
legend('将y=sin(x)的横坐标收缩至原来的1/2')
%hold on
%theax=axis;
pause
%y
sjbh.m
%sjbh.m
%function sjbh1(m)
x=-1:0.01:10;
y1=sin(x);
plot(x,y1)
axis([-1 10 -2 2])
grid
legend('sin(x)')
pause(2)
legend off
legend('将y=sin(x)的横坐标收缩至原来的1/2')
%hold on
%theax=axis;
pause
%
sjbh1.m
%sjbh.m
function sjbh1(m)
x=-1:0.01:10;
y1=sin(x);
plot(x,y1)
axis([-1 10 -2 2])
grid
legend('sin(x)')
pause(2)
legend off
legend('将y=sin(x)的横坐标收缩至原来的1/2')
%hold on
%theax=axis;
pause
%y
13kfft0.c
#include "stdio.h"
#include "13kfft.c"
#include "math.h"
main()
{ int i,j;
double pr[64],pi[64],fr[64],fi[64];
for (i=0; i
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