29 views (last 30 days)

Asad (Mehrzad) Khoddam
on 30 Oct 2016

if v is the vector:

n=length(v);

while n>0

disp(v(n));

n=n-1;

end

Walter Roberson
on 30 Oct 2016

Walter Roberson
on 31 Oct 2016

In your code above,

k=length(v);

and then

L = k;

and then entry k of input corresponds to entry L-k+1 of output.

Sign in to comment.

Sign in to answer this question.

Opportunities for recent engineering grads.

Apply Today
## 0 Comments

Sign in to comment.