Matlab 2012a subs() BUG?
显示 更早的评论
I have function that is a sum of multiple sinusoidal functions. It is x(t).
I try to first do time shift, no problem:
syms x;
syms t;
%define x, some long sinusoidal function
r1 = subs(x,t,t-1)
Everything up to here runs fine. Next I want to evaluate the shifted function.
subs(r1, t, 0)
Now after this step above the result is NaN Result should be 1, by plotting...
3 个评论
Walter Roberson
2013-3-15
Please show r1
NaN could show up if the expression is singular at t=0
ha9981
2013-3-15
Walter Roberson
2013-3-15
Okay, but you have not indicated what r1 or r2 are
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

