Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Matlab halp

Name: Anonymous 2010-10-29 2:39

Can anyone here help me with making a matlab function, it's an exercise yes, but I don't really know much of recursions.

Here's what I have to do:
Given two integers, write a function, recursiveProduct, that calculates the product of the two numbers.

You *must* use recursion.
You may *not* use the * or .* operators. 
You may *not* use the prod() function.
You MAY assume that the second integer will not be negative

Name: Anonymous 2010-10-29 6:47

No solutions that handle real numbers?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List