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 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