How to read the data from a symbolic matrix ?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi
I used the follwing code to solve a equation but the data is in a symbolic matrix format.
syms a
f=solve((c3(i)*a^3)+(c2(i)*a^2)-c1(i))
The output is in a symbolic matrix format.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148019/image.png)
How to read the data from symbolic matrix? I want to load the data to variables a,b and c.
Thanks
1 件のコメント
回答 (1 件)
Sean de Wolski
2015 年 3 月 17 日
doc subs
? This will substitute in values for a b and c. Then you could use double() or vpa() to convert to numeric form.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!