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.
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!