代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
samp1_3.m
%Samp1_3
N=200;dt=0.02;f1=1;f2=9; %采样点数、间隔和两个振动的频率
n=0:N-1;t=n*dt; %定义时间离散值
x1=0.5*sin(2*pi*f1*t+1); %第一个振动
x2=0.3*sin(2*pi*f2*t+2.2); %第二个振动
subplot(3,1,1),plot(t,x1);
title('第一个振动
samp3_1.m
%Samp3_1
clear all %将工作空间中的所有变量清除
N=256;dt=0.02; %数据的个数和采样间隔
n=0:N-1;t=n*dt; %序号序列和时间序列
x=sin(2*pi*t)+0.5*sin(2*pi*5*t); %信号加得到的合成信号
m=floor(
hrollfcoef.m
% Program 3-3
% hrollfcoef.m
%
% Generate coefficients of Nyquist filter
%
% programmed by H.Harada
%
function [xh] = hrollfcoef(irfn,ipoint,sr,alfs,ncc)
%****************** variables ****
hrollfcoef.m
% Program 3-3
% hrollfcoef.m
%
% Generate coefficients of Nyquist filter
%
% programmed by H.Harada
%
function [xh] = hrollfcoef(irfn,ipoint,sr,alfs,ncc)
%****************** variables ****
11.c
#include"graphics.h"
#include"math.h"
#include"dos.h"
#define pi 3.1415926
#define X(a,b,c) x=a*cos(b*c*pi/180-pi/2)+300 /*difine定义符号常量*/
#define Y(a,b,c) y=a*sin(b*c*pi/180-pi/2)
01-连杆机构的运动设计-1.m__.htm
MATLAB.rar 01-连杆机构的运动设计-1.m
www.pudn.com >
04-槽轮机构的运动分析-2.m__.htm
MATLAB.rar 04-槽轮机构的运动分析-2.m
www.pudn.com >
feedb.m
% feedbl.m
% 反馈线性化
% 初始化
clear
X1 = [rand(1,300)*pi, rand(1,100)*pi];
X2 = [rands(1,300)*pi, zeros(1,100) ];
P = [X1; X2];
dt = 0.05;
T= X2 + dt*(10*sin(X1)-2*(X2));
[R,Q] = size(P);
S1
fir.c
/////////////////////////////////////////////////
// Example For ICETEK-VC5416-EDU //
// CTR Version : V4 //
// Filename: Fir.c
3(1)正交解调.m
t=0:0.001:1;
x1=sin(2*pi*5*t);
subplot(2,5,1);
plot(t,x1);
x2=sin(2*pi*8*t);
subplot(2,5,2);
plot(t,x2);
x=x1+x2;
subplot(2,5,3);%信号图
plot(t,x);
xl=fft(x);
subplot(2,5,4);%信号频谱
plot(abs(x