Setting an equation equal to another variable (rearranging) in 2012b

I took an integral in matlab and this was the output:
s =
3*5^(1/2)*t
or s = 3.
I want to rearage this equation in terms of .
I tried:
t = solve(s,t)
but the output is:
t1 =
0
I would greatly appreciate any insight!
p.s. I do have symbolic toolbox and have set:
syms t s t1

 Accepted Answer

syms s t
eq = s == 3*5^(1/2)*t
sol_t = solve(eq,t)
Beginning from 2017a you can use isolate.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2012b

Community Treasure Hunt

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

Start Hunting!