Pick one value from multiple results

1 次查看(过去 30 天)
A solve command finds four solutions like,
X1 =
0.5017
-0.5017
0.5017
-0.5017
how can I pick only the first value "0.5017"?
Thank you.

采纳的回答

VBBV
VBBV 2021-4-3
编辑:VBBV 2021-4-3
X1(1)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by