adplus-dvertising
frame-decoration

Question

What is the output of the following code?
syms x
limit(1/-x,x,-0)

a.

NaN

b.

Inf

c.

0

d.

Syntactical error

Posted under MATLAB

Answer: (a).NaN

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?