How do I convert symbolic values to numerical for uitable ?
3 ビュー (過去 30 日間)
古いコメントを表示
How do I Convert symbolic values to numerical for uitable ? The table itself, tbl displays fine, but I want to display the same data into a uitable. The last column is symbolic
load datafile.mat
format bank
tbl = table(t',h', round(vpa(v),2)', 'VariableNames',["Time(s)", "Height(ft)","Velocity(ft/s)"])
fig = uifigure;
uit = uitable(fig,"Data",tbl)
採用された回答
Torsten
2024 年 12 月 1 日
syms x
f = x^2-2;
xsol = solve(f==0)
class(xsol)
xvpa = vpa(xsol)
class(xvpa)
xnum = double(xsol)
class(xnum)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!