Specify max limit to data from data file

2 次查看(过去 30 天)
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!

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Identification 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by