1.

To find the absolute value of the sum of squares of numbers in a series, we use_________(a) abs(sumsqr())(b) sumsqr()(c) sumsqr(abs())(d) abs(sqrsum())I have been asked this question in unit test.I want to ask this question from Sums and Products in division Beyond the Basics of MATLAB

Answer»

Correct ANSWER is (a) abs(sumsqr())

For explanation: The command sumsqr () finds the SUM of squares of finite VARIABLES in a series. If we give sumsqr(abs()), it will convert all the values in the series to absolute values so we won’t GET the true sum of the series. sumsqr()will only give the sum of all the values in the series.



Discussion

No Comment Found

Related InterviewSolutions