How to I call specific values from a 45x1 Matrix?

1 vue (au cours des 30 derniers jours)
wobbly
wobbly le 7 Déc 2021
Modifié(e) : Stephen23 le 7 Déc 2021
I have a singular column with 45 values (45x1), but I want to call specifically just 3,5,14,17,25,28 in that column. How do I go about choosing these? Below is what I tried but had no success.
solution = Truss\Forces % Solving For Link forces giving a 45x1 matrix
link_forces = solution(3,5,14,17,25,28)

Réponses (1)

Stephen23
Stephen23 le 7 Déc 2021
Modifié(e) : Stephen23 le 7 Déc 2021

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Tags

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by