Symbolic intergration in Matlab using INT command?

  • Context: MATLAB 
  • Thread starter Thread starter ACT
  • Start date Start date
  • Tags Tags
    Intergration Matlab
Click For Summary

Discussion Overview

The discussion revolves around the use of the "INT" command for symbolic integration in Matlab, exploring when and how to apply it effectively. Participants express confusion regarding its usage and provide examples and suggestions.

Discussion Character

  • Exploratory, Technical explanation, Homework-related

Main Points Raised

  • One participant expresses confusion about when to use the "INT" command for symbolic integration in Matlab.
  • Another participant suggests that the transition to symbolic multiplication might be relevant to the use of the "INT" command, though this point is unclear.
  • A later reply provides a specific format for using the "INT" command, including an example of defining a function and performing an integral from 1 to 100.

Areas of Agreement / Disagreement

Participants generally express confusion about the topic, and there is no consensus on the correct approach or understanding of the "INT" command.

Contextual Notes

Some assumptions about the understanding of symbolic operations in Matlab may be missing, and the clarity of the proposed method may depend on the participants' familiarity with Matlab syntax.

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 x^2 + \sin (x), you should do following:
1. define the function as
f = 'x ^ 2 + sin(x)';
2. integral
int( f, 'x', 1, 100 )
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K