Effacer les filtres
Effacer les filtres

Specify max limit to data from data file

2 vues (au cours des 30 derniers jours)
doliph
doliph le 10 Oct 2013
Commenté : doliph le 10 Oct 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!

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 10 Oct 2013
x = D(1:N,1);
y = D(1:N,2);
  1 commentaire
doliph
doliph le 10 Oct 2013
Brilliant. Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Identification dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by