Clear Filters
Clear Filters

What's the inverse of squeeze?

22 views (last 30 days)
parslee
parslee on 19 Jan 2022
Answered: Matt J on 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;

Accepted Answer

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!