Clear Filters
Clear Filters

How to extract a range of values from a variable table

7 views (last 30 days)
For example, from the 1st number to the 6th number

Accepted Answer

Ameer Hamza
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!