This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %recursive vectors as well out = vec(1); %assigns the output to the first value of the vector vec(1) = ; %eliminates the first value of the vector; terminating condition out = out + recurSum(vec); %finds the sum of the recur else out = 0; end end...
View Full Document
This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Institute of Technology.
- Spring '08