How do you declare a symbolic function of time as a real variable
8 次查看(过去 30 天)
显示 更早的评论
Hello,
I have several symbolic functions of time which I would like to declare as real. How can I do this?
syms x1(t) x2(t) x3(t) real
does not work because later when I say X = [x1 ; x2 ; x3], the expressions for X involve conjugates.
Thank you,
Kevin
回答(2 个)
Walter Roberson
2013-6-10
You could try adding an assumption that imag(x1(t)) == 0
1 个评论
Walter Roberson
2017-4-19
You can
assumeAlso(diff(x1(t),t),'real')
assumeAlso(diff(x2(t),t),'real')
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!