I want to calculate limit of function in matlab. However in result I receive the value "NaN" (Not-a-Number). What I am supposed to do to get an answer in the form "= n"?
syms x n
lt=limit((x+1)^n-1/x)
This is the function plotted for n=1. n
is definitely not the limit. The function returns the correct value.