Azzera filtri
Azzera filtri

Matlab Machine learning help

1 visualizzazione (ultimi 30 giorni)
Branson Rogers
Branson Rogers il 19 Feb 2019
Risposto: Laura Hann il 19 Feb 2019
I am trying to make a data split to do some machine learning. I have a 9000 by 6 table and I need to skip the first row and keep the next two rows. I cannot figure out any code to do this for me. Thanks for the help.

Risposte (1)

Laura Hann
Laura Hann il 19 Feb 2019
dataNew = data( 2:3 , : )
If you meant keeping columns instead of rows it'll be dataNew = data( : , 2:3 )

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by