System of equations incl. complex and absolute values

Click For Summary
SUMMARY

The discussion centers on solving a system of equations in Matlab involving complex variables and absolute values. The equations include known variables a, b, c, d (complex) and unknowns fs, fd, fv, and alpha. The primary challenge is the term |alpha|, which Matlab's solve function does not accept analytically, complicating the search for an analytical solution. The user has isolated alpha but cannot proceed due to the limitations of Matlab in handling the absolute value of a complex variable.

PREREQUISITES
  • Understanding of complex numbers and their properties
  • Familiarity with Matlab programming and its solve function
  • Knowledge of analytical methods for solving systems of equations
  • Basic concepts of absolute values in mathematical expressions
NEXT STEPS
  • Research analytical methods for solving systems of equations with complex variables
  • Explore Matlab's symbolic toolbox for handling absolute values
  • Study techniques for isolating variables in complex equations
  • Investigate alternative numerical methods for large iterations in Matlab
USEFUL FOR

Matlab users, mathematicians, and engineers dealing with complex systems of equations, particularly those requiring analytical solutions in computational environments.

KanedaSyndrom
Messages
3
Reaction score
0

Homework Statement



I'm currently implementing an algorithm in Matlab, however, I've hit a bump, I'm trying to solve the following system of equations:

Known variables = a, b, c, d[complex]
Unknown variabls = fs, fd, fv, alpha

My problem is what to do with the |alpha| since I can't get Matlab to accept that term analytically, only when solving numerically, which isn't an option in this instance.

Homework Equations



a = fs + fd*|alpha|^2 + fv
b = fs + fd + fv
c = fs + fd*alpha + fv/3
d = fv/3

The Attempt at a Solution



I've gone as far as solving to the point where I had alpha isolated and dependent on |alpha| alone.

So, I've no problem using the solve function in Matlab (to my knowledge), but I'm not able to find an analytical solution for this system due to the term |alpha|, since solve takes a string and won't recognize the 'abs(alpha)' as a string, and solving numerically isn't an option since there's more than a million iterations, so I have to find the analytical solution first before implementing.

I'm really rusty in solving for complex numbers by hand as well. I've searched the net, but what do you do when one of the factors in the system is an unknown as well?
 
Physics news on Phys.org
Is alpha real, or possibly complex?
 
Alpha is assumed complex, but really, all values would follow from the d value, and thus some values will become complex.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K