Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

sorting table by decades

1 vue (au cours des 30 derniers jours)
David Wonus
David Wonus le 4 Avr 2022
Clôturé : Stephen23 le 4 Avr 2022
trying to sort a table with different years of bridges built with other data about them into groups of decades. Coming from being fairly proficient in java and c++ and the matlab documentation simply does not make sense.
I understand I need to create a new table which sums up the data from each respective year into a information on one decade.
T = readtable("bridgedata.xlsx");
decades = varfun((@floor/10)*10,T(:,'YEAR_BUILT'));

Réponses (0)

Cette question est clôturée.

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by