Issue with reality assumption of an implicit function
13 views (last 30 days)
Show older comments
Marcello Romano
on 20 Apr 2019
Answered: Marcello Romano
on 20 Apr 2019
Why is the assumption on the reality of f(t) lost by assuming real a different function?
Is this a bug?
In fact:
syms f(t) g(t) t real
assume(f(t),'real')
isreal(f(t))
assume(g(t),'real')
isreal(f(t))
returns:
ans =
logical
1
ans =
logical
0
Any help would be appreciated.
1 Comment
David Wilson
on 20 Apr 2019
My version throws a couple of warnings: I'd look at these first. It seems to me reasonable that a function cannot be restricted easily.
>> syms f(t) g(t) t real
Warning: Can only make assumptions on variable names, not 'f(t)'.
> In syms (line 248)
Warning: Can only make assumptions on variable names, not 'g(t)'.
> In syms (line 248)
Do you get warnings?
Accepted Answer
More Answers (1)
See Also
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!