Short script to convert any 3D matrix, from your workspace or saved as a *.mat file, to a *.vff file that could be opened with MicroView.
USAGE:
'mat_to_vff'
Start with the file name and choose the mat file to be converted. Output file will have the same name and will be in the same directory as the original file.
'mat_to_vff( workspace_variable, 'target_directory_for_the_vff_file')'
Start with the file name with two arguments. The first argument is the variable from the workspace to be converted. The second argument is the target directory for the .vff file.
The scripts will give an option to linearly re-scale the numbers of the matrix in the +/- 32 000 range, leave the data unchanged or use a specific re-scaling factor.
Was inspired by 'writeVFF3D.m'
Zitieren als
Ivailo (2024). mat_to_vff (https://www.mathworks.com/matlabcentral/fileexchange/62039-mat_to_vff), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > Images > Convert Image Type >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Usage updated! |