How do we calculate the integration of an imput handle function

2 Ansichten (letzte 30 Tage)
HeadingUpHigh
HeadingUpHigh am 20 Apr. 2018
Kommentiert: Walter Roberson am 20 Apr. 2018
so i get this error while trying to get the integration of handle functions
??? Function 'int' is not defined for values of class 'function_handle'.
Error in ==>
disp(int(f));
by the way i'm using Matlab 7.0 R14

Antworten (1)

Birdman
Birdman am 20 Apr. 2018

int is used to calculate integrals of symbolic functions. To find integral of function handle, use integral.

https://www.mathworks.com/help/matlab/ref/integral.html

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by