reshape an array of un even matrix

4 visualizzazioni (ultimi 30 giorni)
ashok
ashok il 15 Apr 2014
Commentato: Azzi Abdelmalek il 15 Apr 2014
y = 2000x1 (size)
y = 38 132 3 214 61 254 77 64 ........
how to reshape to
y = 250x1 (size)

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 15 Apr 2014
out=reshape(y,250,8)
  4 Commenti
ashok
ashok il 15 Apr 2014
sir i have an matrix of size 250X1 and i converted it in to binary then modulated and then transmitted but i received and then demodulated i got the matrix size is 2000X1 but i need that matrix should be 250X1
Azzi Abdelmalek
Azzi Abdelmalek il 15 Apr 2014
Explain what this 2000x1 array contains and how can we get just 250 elements

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by