Info

This question is closed. Reopen it to edit or answer.

How To Change Variable In My Intergal Equation To Number From Input

1 view (last 30 days)
Hi all sorry for my bad english i really need help here :(
I have a simple yet so frustating problem So here my story
first i make variable x with syms
I have an equation from calculation value (which from my input) just call my input is q and w and my equation is x1 example i make x1 = w*x then i intergate x1 to make new equation; x2 = int (x1,x)
right now from equation x2, i want to change the variable x to my input q so example x2 = x^2 + 0.5x and the q = 10 so i should get x2 = 105 is there anyway to make my x2 like this?
please help and once again sorry for my bad english

Answers (0)

Community Treasure Hunt

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

Start Hunting!