How to extract a range of values from a variable table
7 views (last 30 days)
Show older comments
Ishaan Chauhan
on 12 Mar 2020
Commented: Ishaan Chauhan
on 16 Feb 2021
For example, from the 1st number to the 6th number
0 Comments
Accepted Answer
Ameer Hamza
on 12 Mar 2020
You can index into a table similar to a matrix. For example
extracted_values = myTable(:, 6:20);
convert to simple matrix
M = table2array(extracted_values)
More Answers (0)
See Also
Categories
Find more on Logical 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!