代码搜索:rectpuls
找到约 62 项符合「rectpuls」的源代码
代码结果 62
www.eeworm.com/read/310212/13654661
m rectpuls.m
function y = rectpuls(t,Tw)
%RECTPULS Sampled aperiodic rectangle generator.
% RECTPULS(T) generates samples of a continuous, aperiodic,
% unity-height rectangle at the points specified in arra
www.eeworm.com/read/154209/11983162
m rectpuls.m
function y = rectpuls(t,Tw)
%RECTPULS Sampled aperiodic rectangle generator.
% RECTPULS(T) generates samples of a continuous, aperiodic,
% unity-height rectangle at the points specified in arra
www.eeworm.com/read/215418/15061793
m shiyan1e.m
t=-2:0.00001:5;
plot(t,rectpuls(t-1.25,0.5));
axis([-2,5,0,2]);
xlabel('t');ylabel('f(t)');
www.eeworm.com/read/215418/15061796
asv shiyan1e.asv
t=-2:0.000001:3;
plot(t,rectpuls(t-1.25,0.5));
axis([-2,5,0,2]);
xlabel('t');ylabel('f(t)');
www.eeworm.com/read/215418/15061799
asv shiyan1c1.asv
t=-1:0.00001:4;
x=exp(-1*(t-1).*rectpuls(t-1.5,1);
plot(t,x);
axis([-1,4,0,3]);
xlabel('t');ylabel('f(t)');
www.eeworm.com/read/215418/15061803
m shiyan1c1.m
t=-1:0.00001:4;
x=exp(-1*(t-1)).*rectpuls(t-1.5,1);
plot(t,x);
axis([-1,4,0,3]);
xlabel('t');ylabel('f(t)');
www.eeworm.com/read/380151/9159807
m fangbo.m
%方波
clear all;
t=-2*pi:0.01:2*pi;
f1=square(t);
f2=square(t,30);
f3=rectpuls(t);
subplot(3,1,1),plot(t,f1),title('f1'),axis([-2*pi,2*pi,-1.1,1.1]),grid on;
subplot(3,1,2),plot(t,f2),title('f2')
www.eeworm.com/read/264066/11330957
m impulscx.m
function impulscx(x,ts); %ts为码元宽度
n=length(x);
t1=ts*n;
t=0:0.1:t1;
y=0;
for i=0:n-1
y=x(i+1)*rectpuls((t-(2*i+1)/2*ts),ts)+y;
end
plot(t,y);
grid on
www.eeworm.com/read/343634/11937562
m zrectpuls.m
%产生长度为1s的非周期方波,宽度为0.6s
t=0:0.1:1;
x=rectpuls(t,0.6);
plot(t,x);
www.eeworm.com/read/215418/15061790
asv shiyan1.asv
t=-2:0.02:6;
y=rectpuls(t-1.5,1);
axis([-2,3,0,3]);
x=exp(-1*t).*cos(10*pi*t).;
plot(t,x)