How I can get number from a table?
3 views (last 30 days)
Show older comments
John Jairo Páez Rodriguez
on 28 Jun 2020
Commented: John Jairo Páez Rodriguez
on 28 Jun 2020
Hi guys!... My question. I have a large table. The values are similar to qq. I need to get the numbers 2,3,4,5,6. I have tried different ways but nothing work! Can anyone give support. Thanks...!
qq =
table
Movimientos
___________
2 3 4 5 6
0 Comments
Accepted Answer
madhan ravi
on 28 Jun 2020
Edited: madhan ravi
on 28 Jun 2020
qq(all(ismember(qq{:,:},2:6),2),:) % ?
7 Comments
madhan ravi
on 28 Jun 2020
qq = table;
Movimientos = 2:6
qq = table(Movimientos)
Movimientos =
2 3 4 5 6
qq =
table
Movimientos
_____________________
2 3 4 5 6
bb = qq.Movimientos
bb =
2 3 4 5 6
bb(1)
ans =
2
More Answers (0)
See Also
Categories
Find more on Fixed Point in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!