MATLAB: How to present this function in matlab to see the output signal

eveneven-odd-periodic-aperiodicMATLAB

the matlab code of:
1- and it is periodic or aperiodic?
2- and it is even or odd?

Best Answer

syms x(t)
x(t) = cos(10*pi*t)
fplot(x(t))
syms x(n)
x(n) = 1+2*n-3*n^2
figure
fplot(x(n))