代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/357879/10198965
m ex1_7.m
%1-7
% Q1.41
n=0:30;
f1=2.8*square(0.2*pi*n,60);f2=2.8*square(0.2*pi*n,30)
subplot(221),stem(n,f1),xlabel('时间序号 n'),ylabel('振幅'),axis([0 30 -3.2 3.2])
subplot(222),stem(n,f2),xlabel('时间序号 n'),yla
www.eeworm.com/read/357794/10201051
txt 1133.txt
题1133:小球从球桌的中点出发。其在水平方向碰撞的次数乘以桌宽,即为它在垂直方向运动的总距离。同理可知它在水平方向的总距离。最终得到角度值和速度值。
小结:const double pi=acos(-1);
www.eeworm.com/read/357628/10204539
m 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 ****
www.eeworm.com/read/357617/10204737
txt 05-08.txt
x = 0:pi/5:2*pi;
y = sin(x);
plot(x,y);
hold on
y1 = interpft(y,20);
x1=linspace(0,2*pi,20);
plot(x1,y1,'.');
www.eeworm.com/read/357617/10204878
txt 02-23.txt
>> a=1;b=2;c=sqrt(3);
>> cos_alpha = (a^2 + b^2 -c^2) / (2*a*b)
>> alpha=acos(cos_alpha)
>> alpha=alpha*180/pi
>> clear alpha;
>> alpha=acosd(cos_alpha)
www.eeworm.com/read/357617/10204900
txt 10-04.txt
>> t=0:pi/20:2*pi;
>> z=sin(t);
>> plot(t,z)
>> set(gca,'YAxisLocation','right')
>> xlabel('t')
>> ylabel('z')
www.eeworm.com/read/357617/10204951
txt 09-28.txt
>> t = 0:pi/6:4*pi;
>> [x,y,z] = cylinder(4+cos(t),30);
>> surf(x,y,z),title('default axis');
>> axis square,title('axis square');
>> axis equal,title('axis equal');
www.eeworm.com/read/357605/10205143
m fplotjb.m
clear
clc
subplot(2,2,1), fplot('humps',[0 1])
subplot(2,2,2), fplot('abs(exp(-j*x*(0:9))*ones(10,1))',[0 2*pi])
subplot(2,2,3), fplot('[tan(x),sin(x),cos(x)]',2*pi*[-1 1 -1 1])
subplot(2,2,4), f
www.eeworm.com/read/357506/10208336
m 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
www.eeworm.com/read/357506/10208371
m 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