How can I plot the first 1000 numbers in my matrix?
18 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a 15364 x 6 matrix and I only want to plot the first 167 rows. How can I transform my 15364x6 into a 167x6 while keeping all the numbers in order?
0 Commenti
Risposte (2)
Honglei Chen
il 4 Giu 2018
You can do
y = x(1:167,:)
where x is the original data matrix.
HTH
0 Commenti
Vedere anche
Categorie
Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!