submit a constant to matrices
1 回表示 (過去 30 日間)
古いコメントを表示
Hi guys I am wondering how can I define first element of number of matrices as a constant
I tried T{1:10}(1)=7; but I got the following message
??? Scalar cell array indices required in this assignment.
I appreciate your help
0 件のコメント
回答 (1 件)
Azzi Abdelmalek
2013 年 10 月 2 日
編集済み: Azzi Abdelmalek
2013 年 10 月 2 日
for k=1:numel(T)
T{k}(1)=7
end
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!