Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

how to covert a file of data into array

1 visualizzazione (ultimi 30 giorni)
lafnath p
lafnath p il 24 Ott 2016
Chiuso: MATLAB Answer Bot il 20 Ago 2021
i have a file with comma seperated values created from a 3d array.now i want regain 3d array from text file

Risposte (2)

KSSV
KSSV il 24 Ott 2016
doc csvread

lafnath p
lafnath p il 24 Ott 2016
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 Commenti
KSSV
KSSV il 24 Ott 2016
data = load(yourtextfile) ; % load / import
iwant = [data(:,1) data(:,3) data(:,2)] ;
Jan
Jan il 24 Ott 2016
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

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by