photo

SUTITHI


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Recursive function to reverse a vector
function w=reversal(v) if length(v)==1 w= v; else w= [v(end),reversal(v(1:end-1))]; end

2 years ago | 0