How to assume a symbolic function as real
Show older comments
Hi everyone, I am new to symbolic math toolbox in Matlab, and I need help to do the following.
I need to declare a symbolic function of time a(t) - say it's an angle of a rotating vector - and I want to get rid of all the conj(a(t)) expressions when differentiating trigonometric functions of a(t).
I tried:
syms t a(t) real;
conj(a(t))
ans =
conj(a(t))
What's the correct way to do this?
Thanks in advance.
Answers (2)
Star Strider
on 31 Oct 2014
2 Comments
Sean de Wolski
on 31 Oct 2014
Beat me to it by 30s!
Star Strider
on 31 Oct 2014
I’ve been there myself more often than I care to mention!
Thanks!
Francesco
on 31 Oct 2014
1 Comment
Sean de Wolski
on 31 Oct 2014
That's quite possibly an improvement that's been incorporated since then. If your company/university is current on maintenance, you can upgrade at no additional cost.
Categories
Find more on Assumptions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!