Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
Do you can to help me for calcul the modul of a signal. 'modul=√(a^2 + b^2)'
Thank you very much
O.B
Solved! Go to Solution.
Are you perhaps mixing up the column operator with the power operator? Is this what you are trying to do?
Why are you using the Matrix column operator in your definition of moduleqdcidc?
Aren't qdc and idc vectors?
Mike
it is a matrix
qdc and idc are a matrix
I'm sorry but there not.
Mike
That don't work !
I want √[Qdc(tm, tpas3)^2 + Idc(tm,tpas3)^2]
What must i do ?
Are you perhaps mixing up the column operator with the power operator? Is this what you are trying to do?
If you have (as I think you do) an imaginary Number with real and imaginary parts, then your Modul function is simply the magnitude (use the absolute value icon). If you are doing it to every component of a vector, then you must "vectorize" it (Cntrl _) or you will get the magnitude of the whole vector.