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!