cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

creating a vector of complex numbers using 2 colums of data?

JXBWk
12-Amethyst

creating a vector of complex numbers using 2 colums of data?

To all,

Stupid question ...

if I have a 2 columns matrix A, is there a way in mcad 15 of creating 1 column vector containing complex numbers so that z=A<0>+iA<1> ?

mcad 15 doesn’t seem to like the iA<1> syntax !

Do I have to create a programme to loop over all entries ! surely not ! No functin such as complex(a,b) like in excel?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
terryhendicott
19-Tanzanite
(To:JXBWk)

Hi,

Is this what you are after.

Capture.JPG

View solution in original post

4 REPLIES 4
terryhendicott
19-Tanzanite
(To:JXBWk)

Hi,

Is this what you are after.

Capture.JPG

Thanks. so obvious. I nee t o multiply the imaginary part by 1j. I was trying to write A<1>j    !!

terryhendicott
19-Tanzanite
(To:JXBWk)

Hi,

My apologies the vectorize operator over the top is not necessary.

As it is a proper column matrix operation.

Capture.JPG

No need to apologies. I didn't use the vectorize operator 

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."