Adding entry to a matrix loop
古いコメントを表示
I have a matix, A, of 100x200 zeros. I will be taking data from an oscilloscope that will continually be written to a matrix, B, 1X1. I want to write a loop that inputs B into the spot 1,1 of A. Then after the oscilloscope has taken new data and rewritten B, input it into spot 1,2. When the first line is complete I want the data to go into 2,1 and so on till A is full up. How might I write this loop?
1 件のコメント
John D'Errico
2017 年 1 月 12 日
編集済み: John D'Errico
2017 年 1 月 12 日
Why pray tell, do you want to write data into a matrix along those diagonals? Where does the 4th element go?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Oscilloscopes についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!