Difference in getting symbolic integral result
Show older comments
Hi. I'm new to symbolic toolbox.
Can anyone please explain why there is a different result obtained from what is virtually two identical expressions?
How is Matlab interpreting f1, that it produces an "unexpected" result for the integral_f1?
syms a b t
f1 = a*(1-t/b);
integral_f1 = int(f1, t)
f2 = a - a*t/b;
integral_f2 = int(f2, t)
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!