mysqueeze.m
Version 1.0.0.0 (1.11 KB) by
Ser xyz
Squeeze *only* along the SELECTED dimension (not along all of them)
This function modifies the original "squeeze" in order to force squeezing along a selected dimension exclusively instead that along all singleton dimensions.
[Aout] = mysqueeze(A,squeezedim)
# A :: Array (2D or larger)
# Aout :: Array squeezed along a selected dimension exclusively.
# squeezedim :: Selected dimension to perform the squeeze alone.
Cite As
Ser xyz (2024). mysqueeze.m (https://www.mathworks.com/matlabcentral/fileexchange/47241-mysqueeze-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Matrices and Arrays in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |