Symbolic intergration in Matlab using INT command?

  • Context: MATLAB 
  • Thread starter Thread starter ACT
  • Start date Start date
  • Tags Tags
    Intergration Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 16K views
ACT
Messages
13
Reaction score
0
Symbolic intergration in Matlab using "INT" command?

Hello,

I am a bit confused a to when should we use the Symbolic intergration using "INT" command in Matlab ?

Thanks
 
Physics news on Phys.org
hii

also and me,
But ,I think at the time when change to symbolic multiplication (*)...


with my best wishes...!
 
cotton candy said:
hii

also and me,
But ,I think at the time when change to symbolic multiplication (*)...


with my best wishes...!

sorry but i don't understand ur reply!
 
the format in MATLAB is
int( function, 'variable' ).
For example, to calculate the integral from 1 to 100, the object function is [tex]x^2 + \sin (x)[/tex], you should do following:
1. define the function as
f = 'x ^ 2 + sin(x)';
2. integral
int( f, 'x', 1, 100 )