What's the inverse of squeeze?

32 visualizzazioni (ultimi 30 giorni)
parslee
parslee il 19 Gen 2022
Risposto: Matt J il 19 Gen 2022
Matrix A of 128x1x514 was squeezed and then divide by matrix Y of 1x514.
How can I inverse the squeeze so that matrix A becomes 128x1x514 again?
This is what I have so far:
A = squeeze(A);
A = A./y;

Risposta accettata

Matt J
Matt J il 19 Gen 2022
A=reshape(A,128,1,514)

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by