How to solve large linear complex equations
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The equations are of the following form:
,
where is known.
“Subsitituting into ,we can obtain 14 linear complex equations. By solving 28 linear equations, we can determine the values for .”
How do I solve the imaginary part and the real part
I plan to use the lsqnonlin function for solving, but there are too many unknowns and defining them with syms becomes cumbersome. Is there a better way to solve this problem?
0 commentaires
Réponse acceptée
Matt J
le 6 Déc 2023
Modifié(e) : Dyuman Joshi
le 6 Déc 2023
Since it is a linear and unconstrained system of equations, just use mldivide, \
4 commentaires
Matt J
le 6 Déc 2023
Here is my code where I separate the imaginary and real parts for computation.
I'm not sure you need to do that, but regardless, if your question is now resolved, please Accept-click the Answer.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox 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!