I'm trying to use plot, but I keep getting this error and I'm not sure why.
n = [0:99]; omega = 1.26 * pi; xn = sin(omega*n); plot = (n,xn); xlabel = ('Time Index, n'); ylabel = ('Amplitude'); axis = ([0 99 -1 1]); ??? plot = (n,xn); | Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.
Best Answer