matlab画一个高斯脉冲
答案:2 悬赏:40 手机版
解决时间 2021-01-09 09:28
- 提问者网友:城市野鹿
- 2021-01-08 10:19
matlab画一个高斯脉冲
最佳答案
- 五星知识达人网友:纵马山川剑自提
- 2021-01-08 10:45
任意频率的高斯脉冲源
function [t0,e]=Gauss1(fmax)
%Gauss1 function
%E(t)=exp(-4*pi*(t-t0)^2/tao^2);
%On the t0 point,the value of Gauss reaches the top.
%ofen ,tao=2/fmax ,t0=0.8*tao,fmax is the frequency of Source;
%dt=1/40*fmax; look the k valve for Gauss zero point.
%To execute this M-file, type "[t0,e]=Gauss1(fmax)" at the MATLAB command window;
%fmax is the frequency of Gauss which you want to input;
%for example, [t0,e]=Gauss1(10^10).
tao=2/fmax;
tao=tao*40*fmax;
t0=0.8*tao;
t=0:1:2*t0;
e=exp(-4*pi*(t-t0).^2/tao^2);
plot(t,e);
title('Guass function');
xlabel('t');
ylabel('E(t)');
===================
example:
[t0,e]=Gauss1(10^10);
function [t0,e]=Gauss1(fmax)
%Gauss1 function
%E(t)=exp(-4*pi*(t-t0)^2/tao^2);
%On the t0 point,the value of Gauss reaches the top.
%ofen ,tao=2/fmax ,t0=0.8*tao,fmax is the frequency of Source;
%dt=1/40*fmax; look the k valve for Gauss zero point.
%To execute this M-file, type "[t0,e]=Gauss1(fmax)" at the MATLAB command window;
%fmax is the frequency of Gauss which you want to input;
%for example, [t0,e]=Gauss1(10^10).
tao=2/fmax;
tao=tao*40*fmax;
t0=0.8*tao;
t=0:1:2*t0;
e=exp(-4*pi*(t-t0).^2/tao^2);
plot(t,e);
title('Guass function');
xlabel('t');
ylabel('E(t)');
===================
example:
[t0,e]=Gauss1(10^10);
全部回答
- 1楼网友:慢性怪人
- 2021-01-08 11:27
一、 目的通过本课程设计使学生深入理解和掌握ASK通讯系统的各个关键环节, 设计内容本次设计我们所要做的只是修改各个图符的TS—码元周期f1、f
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯