How to fix it.
古いコメントを表示
wav dimentions are
wav = 5001*1
and I want to change it as wav = 5001*5
How I can reshape it?
採用された回答
その他の回答 (1 件)
Elijah McNeil
2020 年 10 月 28 日
編集済み: Elijah McNeil
2020 年 10 月 28 日
This should work
wav = 5001*1
wav = wav*5
5 件のコメント
Nisar Ahmed
2020 年 10 月 28 日
Elijah McNeil
2020 年 10 月 28 日
編集済み: Elijah McNeil
2020 年 10 月 28 日
OK, you can't do that unless wav has 5 values. Example:
wav = [5000; 6000;7000; 8000; 9000] % that equals 1 column and 5 rows
wav = wav' % that creates 5 columns and 1 row
reshape(wav,1,5) % this also creates 5 columns and 1 row
Nisar Ahmed
2020 年 10 月 28 日
Elijah McNeil
2020 年 10 月 28 日
Wait 5000 rows and 1 column?
Nisar Ahmed
2020 年 10 月 28 日
カテゴリ
ヘルプ センター および File Exchange で Pulsed Waveforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!