Filter löschen
Filter löschen

Specify max limit to data from data file

2 Ansichten (letzte 30 Tage)
doliph
doliph am 10 Okt. 2013
Kommentiert: doliph am 10 Okt. 2013
end
D = load('data.txt');
x = D(:,1);
y = D(:,2);
I would like to specify data to be passed to a function to be limited to N indices.
Anyone have any suggestions?
Cheers!

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 10 Okt. 2013
x = D(1:N,1);
y = D(1:N,2);

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Identification finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by