Skip to main content
Best answer by Werner_E

Heres a one-line solution:

P.S.: I don't see why the method used in the Mathcad 15 version file frome here Vectors with Complex Numbers in Mathcad - PTC: Mathcad - Eng-Tips you had linked to should not work the very same way. After all its basically the same what Fred had shown above.

EDIT: Lets give it a try:

Bingo! Works the same way 😉

8 replies

23-Emerald I
December 1, 2016

This is truly strange:

18-Opal
December 1, 2016

That is because the max function picks  the max real and max imaginary.

23-Emerald I
December 1, 2016

Seems like a bug to me.  You could build a "work around" by finding the index of the matrix of amplitudes.

24-Ruby IV
December 1, 2016

Can you attach your Mathcad Prime worksheet to the message (by using "Use advanced editor")?Pic_1.png

Pic_2.png

18-Opal
December 1, 2016

I can attach it but it would be not much different to what FRED has shown above.

Werner_E25-Diamond IAnswer
25-Diamond I
December 1, 2016

Heres a one-line solution:

P.S.: I don't see why the method used in the Mathcad 15 version file frome here Vectors with Complex Numbers in Mathcad - PTC: Mathcad - Eng-Tips you had linked to should not work the very same way. After all its basically the same what Fred had shown above.

EDIT: Lets give it a try:

Bingo! Works the same way 😉