How to fix it.
Mostra commenti meno recenti
wav dimentions are
wav = 5001*1
and I want to change it as wav = 5001*5
How I can reshape it?
Risposta accettata
Più risposte (1)
Elijah McNeil
il 28 Ott 2020
Modificato: Elijah McNeil
il 28 Ott 2020
This should work
wav = 5001*1
wav = wav*5
5 Commenti
Nisar Ahmed
il 28 Ott 2020
Elijah McNeil
il 28 Ott 2020
Modificato: Elijah McNeil
il 28 Ott 2020
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
il 28 Ott 2020
Elijah McNeil
il 28 Ott 2020
Wait 5000 rows and 1 column?
Nisar Ahmed
il 28 Ott 2020
Categorie
Scopri di più su Pulsed Waveforms in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!