I am tring to varify Euler's equation with two values, 0 and Pi. If I enter each single value, it gives the correct result; theta=0, Real=1, Imaginary=0 theta=Pi, Real=-1, Imaginary=0 But, if I use range values or matrix values the results don't match and are incorrect. Eulers Eqation 7-4-23.sm(19 КиБ) скачан 28 раз(а).
Alpha is a vector and must be applied in functions as such for a calculation one by one. Use the Vectorize function was to get the correct result- sergio