complex
Hi community
I calculate a matrix of numbers,sometimes in the matrix there are complexes.
how can i find them, because my matrix have lot of line.
Thanks
Hi community
I calculate a matrix of numbers,sometimes in the matrix there are complexes.
how can i find them, because my matrix have lot of line.
Thanks
@XDN wrote:
Hi community
I calculate a matrix of numbers,sometimes in the matrix there are complexes.
how can i find them, because my matrix have lot of line.
Thanks
I guess that with "complexes" you mean non-real number. After all 5 is a real number and as such its a complex number, too 😉
Not sure what exactly you have in mind if you write the you want to "find" those non-real numbers.
Here are a few suggestions - hope it helps:

Remarks:
"match" will fail if no non-real number is included in the vector
"trim" will fail if all vector elements are non-real
A workaround is to create modified "match" and "trim" functions:


Note: In Prime use "else" instead of "otherwise" and "try" instead of "on error"
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.