3D Cube Slice

Version 1.0.0.1 (21,3 KB) von Oren Rosen
Enables reading 2 dim slices of 3 dim matrix stored in MAT file
1,7K Downloads
Aktualisiert 1. Sep 2016

Lizenz anzeigen

This project demonstrates a simple example of extracting a 2-dim slice of a 3-dim matrix stored in a MAT file without needing to read in the entire MAT file. This may be useful when the full 3-dim matrix is large and uses to much MATLAB memory and only individual 2-dim slices are needed at any given time. The user can extract slices at any index along all 3 dimensions.
There is a significant restriction:

1) Requires that the MAT file is stored in the version 6 format with no compression (using -v6 option in "save")

The implementation uses the "where" function written by Malcolm Lidierth. His code is included in this zip file.

Stuart McGarrity was an invaluable resource in the inspiration and implementation of this example.

See the included Readme.doc file for more information

Zitieren als

Oren Rosen (2026). 3D Cube Slice (https://de.mathworks.com/matlabcentral/fileexchange/17992-3d-cube-slice), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2006a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Data Import and Analysis finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Project Waterloo File and Matrix Utilities

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.1

Updated license

1.0.0.0