- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
heaviside:单位阶跃函数 help heaviside HEAVISIDE Unit Step function f=Heaviside(t) returns a vector f the same size as the input vector, where each element of f is 1 if the corresponding element of t is greater than zero. 举例: syms t; y=cos(t)*(heaviside(t+0.5*pi)-heaviside(t-0.5*pi)); ezplot(y); 解: 主要代码 % exe4_7_a.m clear; x1=sym((1/2)*exp(-2*t)*heaviside(t)); x2=sym(exp(-4*t)*heaviside(t)); subplot(2,1,1); ezplot(x1,[0,2]); legend(x1); axis([0 2 0 1]); subplot(2,1,2); ezplot(x2,[0,2]); legend(x2); axis([0 2 0 1]); fourier函数 FOURIER Fourier integral transform. F = FOURIER(f) is the Fourier transform of the sym scalar f with default independent variable x. F(w) = int(f(x)*exp(-i*w*x),x,-inf,inf) See also sym/ifourier, sym/laplace, sym/ztrans. 主要代码 % exe4_7_a.m x1=sym((1/2)*exp(-2*t)*heaviside(t)); x2=sym(exp(-4*t)*heaviside(t)); X1=fourier(x1); X2=fourier(x2); subplot(2,1,1); ezplot(abs(X1),[-20,20]);legend(|X1|) axis([-20 20 0 0.3]); subplot(2,1,2); ezplot(abs(X2),[-20,20]);legend(|X2|) axis([-20 20 0 0.3]); 练习1 close all;clear all; syms t a u % exersice 1: Fourier transform of exp(-abs(t)) x1=exp(-abs(t)); X1=fourier(x1) ezplot(X1,[-10,10]);axis([-10,10 0 2.1]); x11=ifourier(X1,w) figure; x111=simple(x11) ezplot(x111,[-10,10]);axis([-10,10 0 1.1]); 运行结果1 X1 = 2/(w^2 + 1) x11 = (2*pi*exp(-w)*heaviside(w) + 2*pi*heaviside(-w)*exp(w))/(2*pi) x111 = exp(-w)*heaviside(w) + heaviside(-w)*exp(w) 练习2 % exersice 2: Fourier transform of % exp(-a*t)*heaviside(t) x2=exp(-a*t)*heaviside(t); X2=fourier(x2); a=2; X22=subs(X2) x22=ifourier(X22) figure; subplot(2,1,1);ezplot(abs(X22),[-10 10]); subplot(2,1,2);ezplot(angle(X22),[-10 10]); 运行结果2 X22 = 1/(w*i + 2) x22 = exp(-2*x)*heaviside(x) H31 = 2/5 - i/5 练习3 % exersice 3: sinusoidal signals pass the RC low pass filter x3=sin(t)+sin(3*t); H31=subs(X22,w,1) H33=subs(X22,w,3) x33=abs(H31)*sin(t+angle(H31))+abs(H33)*sin(3*t+angle(H33)); figure; subplot(2,1,1);ezplot(x3,[-10 10]); subplot(2,1,2);ezplot(x33,[-10 10]
您可能关注的文档
- 粒子质量的测量介绍.ppt
- 连采采煤工艺介绍.ppt
- 连采工艺讲稿介绍.ppt
- 连城大功率LED封装和特种照明产品项目可行性研究汇报介绍.ppt
- 连杆加工工艺过程介绍.ppt
- 连杆检测方案介绍.ppt
- 连杆平面四位置机构综合介绍.ppt
- 连锁餐饮管理培训,探讨未来餐饮发展局势介绍.ppt
- 连锁餐饮市场论文德克士推广介绍.ppt
- 连锁餐饮营运部培训体系分享介绍.ppt
- 2025年公务员面试压力测试与心理承受力模拟卷.docx
- 2025.10.25期中考试语文试题.pdf
- 山东省临沂市河东区2025—2026学年九年级上学期期中语文试题(含答案).pdf
- 2025年特许金融分析师数据挖掘偏差与样本内过度拟合问题专题试卷及解析.pdf
- 2025年无人机驾驶员执照充电柜_充电箱的安全使用规范专题试卷及解析.pdf
- 山东省临沂市平邑县地方镇第二初级中学2025-2026学年九年级上学期11月中旬巩固语文试卷(含答案).pdf
- 2026届湖南省湘西土家族苗族自治州古丈县化学九上期中联考模拟试题含解析.doc
- 2026届江西省省宜春市袁州区化学九年级第一学期期中检测模拟试题含解析.doc
- 2025年拍卖师硬币人为清洗、打磨、化学腐蚀品相识别专题试卷及解析.pdf
- 2025年拍卖师佣金计算争议仲裁案例解析专题试卷及解析.pdf
原创力文档


文档评论(0)