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

1 次查看(过去 30 天)
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)

回答(1 个)

Stephen23
Stephen23 2021-12-7
编辑:Stephen23 2021-12-7

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by