MATLAB: How can i complete the sequence till n=50 discrete time equationdsphomework Consider the following formula x[n]=x[n-1]+x[n-3]x[0]=0x[1]=1x[2]=2 Best Answer Here's a start:x = zeros(1, 50);x(1:3) = [0,1,2]for n = 4 : length(x)I'm sure you can finish the last two lines. Related SolutionsMATLAB: How can i display this sequence in a graph n=.05:.01:.3;x_n=(n.^2-1)./(n.^2);plot(n,x_n); MATLAB: Computing first 50 terms of sequence Keeping your code intact for most of the part, this is a quick fixx = zeros(2,50);x(:,1) = [1;0];A = [1.52 -.7; .56 .4];for k = 2:50 x(:,k) = A*x(:,k-1);enddisp(x(:,10))disp(x(:,20)) Related QuestionHow to write this in MATLABSequence within a sequenceI have N observations z(1),z(2),…z(N) how can do the following formula , where N=50Time shifting of Discrete SignalsGenerate sequenceGenerating sequence
Best Answer