Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to covert a file of data into array

1 回表示 (過去 30 日間)
lafnath p
lafnath p 2016 年 10 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
i have a file with comma seperated values created from a 3d array.now i want regain 3d array from text file

回答 (2 件)

KSSV
KSSV 2016 年 10 月 24 日
doc csvread

lafnath p
lafnath p 2016 年 10 月 24 日
i wrote data of (x,y,z) values in a text file as (x,z,y).how to regain values of(x,y,z)
  2 件のコメント
KSSV
KSSV 2016 年 10 月 24 日
data = load(yourtextfile) ; % load / import
iwant = [data(:,1) data(:,3) data(:,2)] ;
Jan
Jan 2016 年 10 月 24 日
Please do not post clarifications as answers and corresponding answers as a comment. All details belonging to a question should be found insider the question. Thanks

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by