代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
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 ;
%------------------------------------------------------------------------
mdefir1.c
#include
#include
#include
#include "msp.h"
void mdefir1(int l,int iband,float fl,float fh,float fs,int iwindow,
float b[],float w[],int *ierror)
{
/*-------------
program_3_1.m
% Program 3_1
% Discrete-Time Fourier Transform Computation
%
% Read in the desired length of DFT
k = input('Number of frequency points = ');
% Read in the numerator and denominator coefficients
program_3_1.m
% Program 3_1
% Discrete-Time Fourier Transform Computation
%
% Read in the desired number of frequency samples
k = input('Number of frequency points = ');
% Read in the numerator and denominator
program_15_5.m
% Program 15_5
% Development of an AR Model of an FIR Filter
%
b = remez(13, [0 0.5 0.6 1], [1 1 0 0]);
[h,w] = freqz(b,1,512);
[d,E] = lpc(b,7);
[h1,w] = freqz(sqrt(E*length(b)),d,512);
plot(w
program_11_13.m
% Program 11_13
% DFT Sample Computation Using CZT
%
n = 0:31;
x = sin(2*pi*11*n/64);
A = exp(i*2*pi*84/512);
V = exp(-i*2*pi/512);
XC = czt(x, 8, V, A);
disp('CFT Samples')
disp(abs(XC));
exp2_3_.m
%plot绘图命令的使用
close all %关闭打开了的所有图形窗口
clc %清屏命令
clear %清除工作空间中所有变量
%定义时间范围
t=[0:pi/20:8*pi];
y=sin(t);
plot(t,y,'b:square')
% r表示线的颜色为红色,此外 y(黄色)g(绿色)b(蓝色)
%
exp2_5_.m
%图形文字标示命令的使用
clear
close all
clc
t=[0:pi/20:5*pi];
plot(t,sin(t),'r:*')
axis([0 5*pi -1.5 1.5 ])
%给x轴和y轴命名
xlabel('t(deg)')
ylabel('magnitude')
%给图形加标题
title('sine wave from zero to 5\pi')
exp2_3.m
%plot绘图命令的使用
clc %清屏命令
clear %清除工作空间中所有变量
%定义时间范围
t=[0:pi/20:9*pi];
y1=sin(t);
y2=cos(t);
plot(t,y1,t,y2)