Pick one value from multiple results

1 visualizzazione (ultimi 30 giorni)
Hwajin Choi
Hwajin Choi il 3 Apr 2021
Commentato: Hwajin Choi il 3 Apr 2021
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.

Risposta accettata

VBBV
VBBV il 3 Apr 2021
Modificato: VBBV il 3 Apr 2021
X1(1)

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by