How to set assumptions in matlab

AI Thread Summary
To set specific assumptions in MATLAB, such as defining that b is less than a, users can utilize the Symbolic Math Toolbox. While basic assumptions like positivity can be set using commands like sym('a','positive'), more complex inequalities require additional steps. Users may need to define symbolic variables and use the 'assume' function for inequalities. For those seeking alternatives, Wolfram Alpha is suggested as a capable tool for handling such mathematical queries. Understanding how to implement these assumptions effectively can enhance integration tasks in MATLAB.
sara_87
Messages
748
Reaction score
0

Homework Statement



I want to know how to set assumptions in Matlab. i want to integrate 3*a*x/b but i want to tell MATLAB that b is less than a.

Homework Equations





The Attempt at a Solution



I know how to set assumptions that a variable is real/nonreal/positive/negative.
eg: sym('a','positive')
but not specific assumptions as b<a.

Thank you in advance.
 
Physics news on Phys.org

Similar threads

Replies
1
Views
2K
Replies
20
Views
3K
Replies
10
Views
2K
Replies
3
Views
1K
Replies
1
Views
2K
Replies
13
Views
2K
Replies
12
Views
3K
Back
Top