다운로드 수: 4.3K
업데이트 날짜:
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 |