代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
firhp.asv
clc
clear all
close all
T1=0.1095;
T2=0.598;
N=61;
alpha=(N-1)/2;
l=0:N-1;wl=(2*pi/N)*l;
Hrs=[zeros(1,22),T1,T2,ones(1,14),T2,T1,zeros(1,21)];
Hdr=[0 0 1 1];
wdl=[0 0.75 0.75 1];
k1=0:floo
firbp.asv
clc
clear all
close all
T1=0.5925;
T2=0.1399;
N=36;%wpl=0.35pi,wph=0.65pi,wsl=0.25pi,wsh=0.75pi,Apl=2db,Aph=2db,Asl=20db,Ash=20db
%k=N*w/2pi
alpha=(N-1)/2;
l=0:N-1;
Hrs=[zeros(1,6),T
firbp.m
clc
clear all
close all
T1=0.5925;
T2=0.1399;
N=36;%wpl=0.35pi,wph=0.65pi,wsl=0.25pi,wsh=0.75pi,Apl=2db,Aph=2db,Asl=20db,Ash=20db
%k=N*w/2pi
alpha=(N-1)/2;
l=0:N-1;
Hrs=[zeros(1,6),T
lxcaiyang.m
%连续信号的采样
f=10;
t=0:0.001:0.2;
x=cos(2*pi*f*t);
plot(t,x);
%%%%%%%%%%采样%%%%%%%%%%%%
Fs=50;
Ts=1/Fs;
n=0:20;
xn=cos(2*pi*f*n*Ts);
figure,stem(n,xn);
% W=(hanning(length(n)))';xn=xn.*W
2844905_ac_31ms_332k.cc
#include
#include
#define pi 3.1415926
using namespace std;
int c=1;
int main()
{
int t;
float R,r,n;
scanf("%d",&t);
while(t--)
{
scanf("%f
covperiodic.m
function [A, B] = covPeriodic(logtheta, x, z);
% covariance function for a smooth periodic function, with unit period. The
% covariance function is:
%
% k(x^p, x^q) = sf2 * exp(-2*sin^2(pi*(x_p-x_q)
mfm.m
%FM modulation and demodulation,mfm.n
clear all;
close all;
Kf=5;
fc=10;
T=5;
dt=0.001;
t=0:dt:T;
%信源
fm=1;
%mt=cos(2*pi*fm*t)+1.5*sin(2*pi*0.3*fm*t);
mt=cos(2*pi*fm*t);
%FM调制
A=sqrt(
mpm.m
%FM modulation and demodulation,mfm.n
clear all;
close all;
Kf=5;
fc=10;
T=5;
dt=0.001;
t=0:dt:T;
%信源
fm=1;
%mt=cos(2*pi*fm*t)+1.5*sin(2*pi*0.3*fm*t);
mt=cos(2*pi*fm*t);
%FM调制
A=sqrt(
phispan.m
function T=phispan(x,phitype,dilation,uo,a,bord1,bord2,Family,par);
% USAGE T=phispan(x,phitype,dilation,uo,a,bord1,bord2)
%
% This function returns a matrix Tij that contains elements
% \phi_
7-4.m
t = 0:pi/50:10*pi;
i=1;
h=plot3(sin(t(i)),cos(t(i)),t(i),'*','erasemode','none');
%设定擦除模式
grid on
axis([-2 2 -2 2 -1 10*pi])
title '程序动画示例'
for i=2:length(t)
set(h,'xdata',sin(t(i)),'