1.

How does MATLAB get the symbolic character in the function, if it is not mentioned in symsum() command?(a) It cannot(b) It uses symvar()(c) It uses symsvar()(d) It uses symbvar()The question was asked by my college professor while I was bunking the class.My doubt is from Sums and Products topic in chapter Beyond the Basics of MATLAB

Answer»

Right option is (b) It uses symvar()

Easiest explanation: If we don’t specify our symbolic variable which is in our function, the SYMSUM() command uses the symvar() command. This command RETURNS the set of all symbolic variables PRESENT in the function. In this WAY, the symsum command will continue in the execution of generating summation.



Discussion

No Comment Found

Related InterviewSolutions