How do I remove a value from a column, but keep the rest?
Ältere Kommentare anzeigen
How do I remove a value from a column but then keep the rest of the values? For instance, say I had a set of values in a table within column six going from top to bottom, but wanted to remove the first value at the top and then keep the rest. What is the proper way to execute that?
Akzeptierte Antwort
Weitere Antworten (1)
Try this. If there is any issue, please upload your data.
load patients
T = table(LastName,Gender,Age,Height,Weight,Smoker,Systolic,Diastolic)
size(T)
T(1,:)=[]
size(T)
1 Kommentar
TehSharkDood
am 28 Jan. 2023
Kategorien
Mehr zu Tables finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!