my code is
f = @(x) x*(exp(x))for x = -1:.1:1 f(x) plot(x,f(x), 'k') hold onend
I also tried simply typing x=6 y=7 and then plot(x,y) and still nothing comes up. I've rebooted, tried figure(), and I just don't know why my plot comes up as a white graph with no line.
Best Answer