How do we calculate the integration of an imput handle function

조회 수: 2 (최근 30일)
HeadingUpHigh
HeadingUpHigh 2018년 4월 20일
댓글: Walter Roberson 2018년 4월 20일
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

답변 (1개)

Birdman
Birdman 2018년 4월 20일

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

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by