n×m行列のdouble型データを繰り返し文を使わずにvtkファイルに書き出す方法
Show older comments
x=[1,1,1,1,1];
y=[1,2,3,4,5];
z=[2,4,6,8,10];
xyz=[x',y',z'];
filename='data.vtk';
fid = fopen(filename, 'w');
data.vtkに上記の変数xyzである5行3列を書き込む方法を教えていただけますでしょうか.
Accepted Answer
More Answers (0)
Categories
Find more on 標準ファイル形式 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!