MATLAB: How can i plot y = 1/x*(x-1)

plotting

i was trying to plot it but could not as i am new to matlab

Best Answer

syms x
fplot(1/(x*(x-1)))
or
fplot(@(x)1/(x*(x-1)))