老师参与

关于教材上ilaplace函数参数的争论

智超贯 发表于2018年09月27日
<p><a href="https://www.icourse163.org/learn/NEU-1002660001?tid=1003153011#/learn/forumdetail?pid=1007021742" >https://www.icourse163.org/learn/NEU-1002660001?tid=1003153011#/learn/forumdetail?pid=1007021742</a> </p><p>&gt;&gt; syms x t;</p><p>&gt;&gt; y=x^2;</p><p>&gt;&gt; Ft=laplace(y,x,t)</p><p>&nbsp;</p><p>Ft =</p><p>&nbsp;</p><p>2/t^3</p><p>&nbsp;</p><p>&gt;&gt; fx=ilaplace(Ft,t,x)</p><p>&nbsp;</p><p>fx =</p><p>&nbsp;</p><p>x^2</p><p><br ></p><p>&gt;&gt; fx2=ilaplace(Ft,x,t) &nbsp; %匿名学友把t,x顺序调换后</p><p>&nbsp;</p><p>fx2 =</p><p>&nbsp;</p><p>(2*dirac(t))/t^3</p><p>在薛定宇老师的课看到匿名学友举例将刘老师教材上拉普拉斯变换程序的参数t,x对调得不到原函数,我也有些疑问</p>
2 回复

    1楼

  • LiuWG 发表于2018年09月28日
    0 | 1 | 举报
    <p>1)教材中的用法没有问题,前面有函数定义,x是y的函数,对y进行拉式变换将x时域函数变换到t复数域,再通过逆拉式变换将t复数域函数变换到x时域。用什么符号其实是随便的,只要前后交代清楚。习惯上时域变量用t,复数域变量用s,以免引起不必要的误解,特别是没有前因后果时遵循约定是必要的。</p><p>2)按照约定俗成的用法,改写程序如下:</p><p>syms t s p;</p><p>ft = t^2&nbsp; %时域函数</p><p>Fs = laplace(ft,t,s)&nbsp; %对时域函数ft进行拉式变换 变换到复域 变换后的变量用s表示</p><p>ft_row = ilaplace(Fs,s, t)&nbsp; %对复域函数Fs进行逆拉式变换&nbsp; 变换到时域 变换后的变量用t表示</p><p>ft_row1 = ilaplace(Fs,s, p) %对复域函数Fs进行逆拉式变换&nbsp; 变换到时域 变换后的变量用p表示</p><p>3)在学习时不必在意变量名是什么,而要理解参数的意义。看以下帮助信息就一目了然了。</p><p><img src="https://nos.netease.com/edu-image/557ea380-0619-4238-9473-7f723abb420a.jpg" style="width: 554px; height: 371px;" /></p>
    LiuWG 发表于2018年09月28日
    添加评论
  • 2楼

  • LiuWG 发表于2018年09月28日
    0 | 0 | 举报
    <p>截图不清楚,摘录文本如下:<br ></p><p>ilaplace(F) returns the Inverse Laplace Transform of F. By default, the independent variable is s and the transformation variable is t. If F does not contain s, ilaplace uses the function symvar.</p><p>ilaplace(F,transVar) uses the transformation variable transVar instead of t.</p><p>ilaplace(F,var,transVar) uses the independent variable var and transformation variable transVar instead of s and t, respectively.</p><p>&nbsp;</p><p>Input Arguments</p><p>F — Input</p><p>Input, specified as a symbolic expression, function, vector, or matrix.</p><p>var — Independent variable</p><p>Independent variable, specified as a symbolic variable, expression, vector, or matrix. This variable is often called the &quot;complex frequency variable.&quot; If you do not specify the variable, then ilaplace uses s. If F does not contain s, then ilaplace uses the function symvar to determine the independent variable.</p><p>transVar — Transformation variable</p><p>Transformation variable, specified as a symbolic variable, expression, vector, or matrix. It is often called the &quot;time variable&quot; or &quot;space variable.&quot; By default, ilaplace uses t. If t is the independent variable of F, then ilaplace uses x.</p><p>&nbsp;</p><p><br ></p>
    LiuWG 发表于2018年09月28日
    添加评论