⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lapex.m

📁 Programs for the book Advanced Engineering Mathematics using MATLAB, 2ndEd.
💻 M
字号:
% LAPEX.M Test of MATLAB Laplace function
%   NOTE: This M-file requires the Symbolic Math Toolbox
%
syms A a s t w
% (a) Exponential
f1=sym('A*exp(-a*t)'), F1=laplace(f1,t,s)
% (b) Cosine
f2=sym('cos(w*t)'), F2=laplace(f2,t,s)
pretty(F2)		% Redisplay as P(s)/Q(s)
% (c) Inverse transform
F4=sym('(s^2+4*s+2)/(s^3+3*s^2+2*s)'), f4=ilaplace(F4,s,t)
%
F5=sym('(s+3)/(s*(s+1)*(s+2)^3)'), f5=ilaplace(F5,s,t)
%
% Version 5 Added syms and call to laplace and ilaplace

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -