Storing integers from a cell in a variable
7 ビュー (過去 30 日間)
古いコメントを表示
Balasubramanian Sundarapandian
2020 年 7 月 22 日
コメント済み: Balasubramanian Sundarapandian
2020 年 7 月 23 日
Hello all,
I have a 63x1 cell and its contents basically look as shown below
'(4,4)'
'(3,4)'
'(2,4)'
'(1,4)'
'(0,4)'
'(-1,4)'
'(-2,4)'
I would like Matlab to the pick the integers from each cell and store it in different variables. For example, x should contain [4 3 2 1 0 -1 -2] and Y should contain [4 4 4 4 4 4 4 ].
I would be grateful if someone can help me with this.
Thanks in advance
Best Regards,
Bala
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Testing Frameworks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!