Community Profile |

t = 3:100; sumY=0; for i=0:2 sumY = sumY+sum(A(1+i)*X(t-i)) ; end like this?

accepted

1

Answered 1 year ago

exist([num2str(val),'.png'],'file')

accepted

1

Answered 2 years ago

abs(-1)

accepted

1

Answered 2 years ago

x=10:-1:1; % your 2d_line x3d=repmat(x,[numel(x),1]); surf(x3d);

accepted

1

Answered 2 years ago

Your are missing one of the numbers/chars . v is 3x4 not 3x3.

accepted

0

Answered 1 year ago

a=[]; t=zeros(5,2); for i=1:2 t(:,1)=(1:5)+i; t(:,2)=(2:6)+2*(1:5); a=[a;t]; end disp(a) Y...

accepted

0

Answered 2 years ago