-
3 Comments
Bryce
on 2 Feb 2012
Hmmm, description is a little confusing. Is length(x) always = length(y)? Are they nx1 or 1xn? Anyhow, I submitted several possible solutions (e.g. z = x'*y, z = sum(x.*y)) all of which failed the test suite ... but they work fine on my machine!
David Young
on 3 Feb 2012
Note that the output variable in the pattern is y, not z.
Stephen
on 1 Mar 2012
ha, yeah. thanks for commenting about that. I didn't see it either.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!