4.4K 次下载
更新时间
2009/3/24
无许可证
This writes a 3D matrix to a VTK file. An old text-based format is used because it is easy to write to. This may result in very large file sizes.
The matrix is normalised, kind of. Not sure why I did that; it might not be needed. The code is very short so feel free to experiment!
Usage:
WriteToVTK(matrix, filename)
Example:
m = reshape(magic(6), [3 3 4]);
WriteToVTK(m, 'magic.vtk');
引用格式
Tim (2024). WriteToVTK (https://www.mathworks.com/matlabcentral/fileexchange/23416-writetovtk), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
在 Help Center 和 MATLAB Answers 中查找有关 Vector Fields 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |