What's the inverse of squeeze?

17 Ansichten (letzte 30 Tage)
parslee
parslee am 19 Jan. 2022
Beantwortet: Matt J am 19 Jan. 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;

Akzeptierte Antwort

Matt J
Matt J am 19 Jan. 2022
A=reshape(A,128,1,514)

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by