代码搜索结果
找到约 36,166 项符合
Raspberry Pi 的代码
extra.asv
% Program P2_4 modified
% Generate the input sequences
clf;
n = 0:40; D = 10;a = 3.0;b = -2;
x = a*cos(2*pi*0.1*n) + b*cos(2*pi*0.4*n);
x1 = a*cos(2*pi*0.1*(n-1)) + b*cos(2*pi*0.4*(n-1));
ic = [
p5_4.m
% Program P5_4
% Design of Analog Lowpass Filter
clf;
Fp = 3500;Fs = 4500;
Wp = 2*pi*Fp; Ws = 2*pi*Fs;
[N, Wn] = buttord(Wp, Ws, 0.5, 30,'s');
[b,a] = butter(N, Wn, 's');
wa = 0:(3*Ws)/511:3*W
shili05.m
function shili05
h0=figure('toolbar','none',...
'position',[200 150 450 250],...
'name','实例05');
t=0:pi/10:2*pi;
[x,y]=meshgrid(t);
subplot(2,2,1)
plot(sin(t),cos(t))
axis equal
sub
lag.m
function s=lagrange(t,n)
for i=1:n
h=2*pi/n;
x(i)=i*h;
end
s=0;
for i=1:n
l=1;
for j=1:n
if j~=i
l=l*(t-x(j))/(x(i)-x(j));
end
end
s=s+
shili06.m
function shili06
h0=figure('toolbar','none',...
'position',[200 150 450 400],...
'name','实例06');
t=0:pi/10:2*pi;
h=plot(t,sin(t));
xlabel('t=0到2\pi','fontsize',16);
ylabel('sin(t)','fon
aproxantenas.m
%Programa para comparar aproximaciones
clear all
close all
a=1
mu=1
Io=1
k=2*pi/6
theta=pi/8
y=0
max=100
for n=1:max
m(n)=n;
r(n)=m(n).*a;
%aproximaci髇 1
Aphi=((a^
aproximaciones.m
%Programa para comparar aproximaciones
clear all
close all
a=1
mu=1
Io=1
k=2*pi/6
theta=pi/8
y=0
max=100
for n=1:max
m(n)=n;
r(n)=m(n).*a;
%aproximaci髇 1
Aphi=((a^
program_4_1.m
% Program 4_1
% Generate the filter coefficients
h1 = ones(1,5)/5; h2 = ones(1,14)/14;
w = 0:pi/255:pi;
% Compute the frequency responses
H1 = freqz(h1, 1, w);
H2 = freqz(h2, 1, w);
% Compute
光的多缝衍射的模型.c
#include"stdlib.h"
#include "stdio.h"
#include"math.h"
#include"graphics.h"
main()
{
float a=0.4,d=0.8;
int n=4;
int graphdrv=DETECT;
int graphmode;
int A=0,B=120;
float b,c,r,pi=3.14
pi.c
#include
#include
#include
#include
#include "global.h"
#include "mbuf.h"
#include "iface.h"
#include "pktdrvr.h"
#include "netuser.h"
#include "pi.h"
#