MATLAB: How to do the coding with plus minus sign infront of square root

plusminussquareroot

Best Answer

T = sqrt( 4 * I(2)^2 * I(3)^2 - E^2 );
first_result = -T / E;
second_result = +T / E;
If you prefer and if E is a scalar then
results = [-1 1] * sqrt( 4 * I(2)^2 * I(3)^2 - E^2 ) / E;
I am guessing about what the slash and subscript and superscript 2 and 3 are representing.