Error with int function
3 views (last 30 days)
Show older comments
I write in matlab
I=int('(3*x.^2-1.2)/(x.^5+1)',2,3.2) And get error Check for missing argument or incorrect argument data type in call to function 'int'.
0 Comments
Accepted Answer
Ameer Hamza
on 25 Oct 2020
Pass the integrand as a symbolic expression
syms x
I = int((3*x.^2-1.2)/(x.^5+1),2,3.2)
2 Comments
More Answers (0)
See Also
Categories
Find more on Numbers and Precision 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!