How to get only real value for equation?
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sakshi Tak
le 30 Oct 2020
Modifié(e) : Ameer Hamza
le 30 Oct 2020
The following equation of z has three answers (one real and two imaginary). So, how to get real value only?
y = 0.6447;
z = (y-1)^(1/3)
0 commentaires
Réponse acceptée
Ameer Hamza
le 30 Oct 2020
Modifié(e) : Ameer Hamza
le 30 Oct 2020
Use nthroot() command
y = 0.6447;
z = nthroot(y-1, 3)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!