代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/167781/9952832
m program_04_1.m
% Program 4_1
% Generate the filter coefficients
colordef black
h1 = ones(1,5)/5; h2 = ones(1,14)/14;h3 = ones(1,200)/200;
w = 0:pi/255:pi;
% Compute the frequency responses
H1 = freqz(h1, 1, w
www.eeworm.com/read/363342/9958331
c 矩阵转换.c
void trans(int *p,int n)
{
int i,j,temp;
int *pi,*pj;
for(i=0;i
www.eeworm.com/read/362702/9985178
asm cfft128c.asm
;============================================================================
;
; File Name : cfft128c.asm
;
; Originator : Digital Control Systems Group
; Texas Instrume
www.eeworm.com/read/362596/9989342
m exp2_4_.m
close all
clc
clear
%定义时间范围
t=[0:pi/20:9*pi];
hold on %允许在同一坐标系下绘制不同的图形
plot(t,sin(t),'r:*')
plot(t,cos(t))
plot(t,-cos(t),'k')
grid on %在所画出的图形坐标中添加栅格,注意用在plot之后
hold off %覆盖旧图
www.eeworm.com/read/362596/9989362
m exp2_4.m
close all
clc
clear
%定义时间范围
t=[0:pi/20:9*pi];
figure(1) %选择图像
plot(t,sin(t),'r:*')
grid on %在所画出的图形坐标中添加栅格,注意用在plot之后
grid off %删除栅格
figure(2)
plot(t,cos(t))
grid on
grid off
www.eeworm.com/read/166836/9995623
asv ch2_3_1.asv
x=0:0.01:1;
y=sin(2*pi*x);
plot(x,y);title('f(x)=sin(2*pi*x)');
xlabel('x');ylabel('y');
x=0.3;y=sin(2*pi*x);[x,y]
for (
dy=2*pi*cos(2*pi*x);x=x-0.01*dy;y=sin(2*pi*x);[x y dy]
www.eeworm.com/read/166836/9996000
m ch2_3_1.m
x=0:0.01:1;
y=sin(2*pi*x);
plot(x,y);title('f(x)=sin(2*pi*x)');
xlabel('x');ylabel('y');
x=0.3;y=sin(2*pi*x);[x,y]
for i=1:40
dy=2*pi*cos(2*pi*x);x=x-0.01*dy;y=sin(2*pi*x);[x y dy]
end
www.eeworm.com/read/362213/10012457
m fig7_5.m
% Figure 7.5
%
Omega = -pi:2*pi/300:pi;
X = 1./(1+0.5*exp(-j*Omega));
clf
subplot(211),plot(Omega,abs(X))
% Note, the pi's in the x-axis in the book were added manually.
ylabel('|X|')
xlabel(
www.eeworm.com/read/362213/10012680
m fig4_4.m
% Figure 4.4
% Plots phase spectrum for Example 4.1
%
w = [1 4 8];
theta = [0 pi/3 pi/2];
theta = theta*180/pi;
% converts to degrees for plot
clf % clear the figure window
subplot(211),st
www.eeworm.com/read/362213/10012717
m ex6_3.m
% Example 6.3
t=0:.01:5;
x=cos(pi*t);
spm=cos(10*pi*t+5*x);
sfm = cos(10*pi*t+2*pi*5/2/pi*sin(pi*t));
clf
subplot(311),plot(t,x);
xlabel('Time (sec)')
ylabel('x(t)')
subplot(312),plot(t,spm);