n×m行列のdouble型データを繰り返し文を使わずにvtkファイルに書き出す方法
Afficher commentaires plus anciens
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列を書き込む方法を教えていただけますでしょうか.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 標準ファイル形式 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!