How to get value from nested table?
2 ビュー (過去 30 日間)
古いコメントを表示
I run this command boundaryindx{dtbung,2}(1,1) and get this result [230.605758582503]. How if I want the result is only 230.605758582503, not [230.605758582503]?
0 件のコメント
回答 (1 件)
John Petersen
2012 年 12 月 14 日
boundaryindx appears to be a cell array. To convert to a number, one way is,
cell2mat(boundaryindx{dtbung,1}(1,1))
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!