I have a question about tables
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
the table has two variables x and y, variable x is have random sorted values in the range of 0-60
I want to bubble split the table in intervals of 0-5 5-10 ... 55-60 and keep the values in variable y along with their respective x values.
0 件のコメント
回答 (1 件)
Peter Perkins
2018 年 3 月 23 日
It sounds like you want to use discretize to create a new variable in the table. Something like
t.z = discretize(t.x,...)
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!