Effacer les filtres
Effacer les filtres

How to extract a range of values from a variable table

7 vues (au cours des 30 derniers jours)
Ishaan Chauhan
Ishaan Chauhan le 12 Mar 2020
Commenté : Ishaan Chauhan le 16 Fév 2021
For example, from the 1st number to the 6th number

Réponse acceptée

Ameer Hamza
Ameer Hamza le 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)
  1 commentaire
Ishaan Chauhan
Ishaan Chauhan le 16 Fév 2021
Forgot to say thank you
Thank you very much! :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by