代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
m_exam12.m
% example 12
x=linspace(0,2*pi,30);
y=sin(x);
z=cos(x);
a=2*sin(x).*cos(x);
b=sin(x)./(cos(x)+eps);
subplot(2,2,1)%选取4个子图中的左上
plot(x,y);axis([0 2*pi -1 1]),title('sin(x)');
subplot(2,2,2)%选取4个
hr_type4.m
function [Hr,w,d,L]=Hr_Type4(h);
M=length(h);
L=M/2;
d=2*[h(L:-1:1)];
n=[1:1:L];n=n-0.5;
w=[0:1:500]'*pi/500;
Hr=sin(w*n)*d';
example2_14.m
b=1;
a=[1,-0.9];
figure(1);
zplane(b,a);
figure(2);
[H,w]=freqz(b,a,100);
magH=abs(H);phaH=angle(H);
subplot(2,1,1);plot(w/pi,magH);grid;
xlabel('freq');ylabel('amp');
subplot(2,1,2);plot(w/p
hr_type2.m
function [Hr,w,b,L]=Hr_Type2(h);
M=length(h);
L=M/2;
b=2*[h(L:-1:1)];
n=[1:1:L];n=n-0.5;
w=[0:1:500]'*pi/500;
Hr=cos(w*n)*b';
singlelpg.m
clear
format long
zhouqi=500e-6;
dn=0.003;
L=0.05;
dz=L/100;
T=[1;0];
bolongb=1550e-9;
for bolong=1520e-9:0.1e-9:1580e-9;
dneff=dn*cos(2*pi*
svdrx4.m
function p=RX4()
N=8;
K=100;
p=10;
I=eye(8);
SNR=10^(p/10);
s=sqrt(SNR/2)*randn(3,K)+j*sqrt(SNR/2)*rand(3,K);
Xn=sqrt(1/2)*randn(N,K)+j*sqrt(1/2)*rand(N,K);
n=[1:1:N]';
Vs1=exp(j*pi*sin(pi/9)
svdl.m
function p=svdl()
N=8;
K=100;
p=10;
I=eye(8);
SNR=10^(p/10);
s=sqrt(SNR/2)*randn(3,K)+j*sqrt(SNR/2)*rand(3,K);
Xn=sqrt(1/2)*randn(N,K)+j*sqrt(1/2)*rand(N,K);
n=[-(N-1)/2:1:(N-1)/2]';
Vs1=exp(
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 ****
产生一 sinc 函数.m
%-----------------------------------------------------------------
% exa011004_sinc.m, for example 1.10.4
% to generate the sinc function.
% 产生一 sinc 函数;
%-----------------------
滤波器系数.m
%------------------------------------------------------------------------
% exa050501.m, for example 5.5.1 and fig5.5.1
% to explain the spectra factorization
%------------------------------------