I have a question about tables
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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.
Answers (1)
Peter Perkins
on 23 Mar 2018
It sounds like you want to use discretize to create a new variable in the table. Something like
t.z = discretize(t.x,...)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!