How can i remove "==" from symbolic equation?

Edit: I have solved my problem with rhs.
Hi,
I have created a symbolic equation via isolate command. Resulting equation is:
x1_dot == (1570*u)/41 - x3*x2_dot - (3060*x1)/(41*x3) - (6426*x2)/(1025*x3)
%Should be: x1_dot = (1570*u)/41 - x3*x2_dot - (3060*x1)/(41*x3) - (6426*x2)/(1025*x3)
I should remove logical equality to continue my work. How can i make this?
Thanks,

3 Comments

I'm sorry, but I'm not sure to understand:
== is a comparaison operator (if the left member is equal to the right member, then this line is evaluated at true)
= is an affection operator (typically evaluation of the right side is affected to the left side).
So what would you like to do ?
Actually, i asked the question uncorrect; i'm sorry.
I have defined an equation as eqn_1 and arranged it according to x1_dot via isolate command.
x1_dot=isolate(eqn_1,x1_dot)
I am using x1_dot in next steps. When i write x1_dot at command window, the result contains ==. This two equality symbol make my code wrong.
I wish, it may be clear. :)
Haha i did it:
It seems very easy :))
x1_dot=rhs(isolate(eqn_1,x1_dot));

Sign in to comment.

 Accepted Answer

syms x1_dot u x2_dot x1 x2 x3
x1_dot = (1570*u)/41 - x3*x2_dot - (3060*x1)/(41*x3) - (6426*x2)/(1025*x3)
x1_dot = 

5 Comments

Thanks KSSV,
And how can you do this mathematical display?
Simply type x1_dot
How can you get result as png format?
I don't think there is option of saving as image.....you can try in Live editor...and try to print the variable...it should be printed as shown in the answer...then you can save it as image I guess. Or there might be any other way which I am mot aware.

Sign in to comment.

More Answers (0)

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Asked:

on 19 Nov 2020

Commented:

on 19 Nov 2020

Community Treasure Hunt

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

Start Hunting!