Info
この質問は閉じられています。 編集または回答するには再度開いてください。
sorting table by decades
1 回表示 (過去 30 日間)
古いコメントを表示
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/952654/image.png)
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'));
1 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!