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

1 回表示 (過去 30 日間)
wobbly
wobbly 2021 年 12 月 7 日
編集済み: Stephen23 2021 年 12 月 7 日
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 Center および File ExchangeMultidimensional Arrays についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by