hi, i have the following signal and i want to plot 5 cycles of it. but i'm getting an error
samples = 500;T = 5;f0 = 1/T;t = linspace(0,T,samples+1); % 5 cycles
t(end) = [];s2_hinf = exp(-((t-6)/4));s2 = repmat(s2_hinf, [1 5]);figure(1)plot(t, s2);
but i'm getting the following error Error using plot Vectors must be the same length.
Best Answer