the second test case misspelled assert and is missing a close parenthesis
Thanks, I have made the corrections.
To address the term: "without using KRON", may you please add this (or something similar) to the test suite: % Test for kron usage fid = fopen(which(), 'r'); c = onCleanup(@()fclose(fid)); tline = fgetl(fid); while ischar(tline), if strfind(tline,'kron'), error('Don''t use kron'); end tline = fgetl(fid); end ... This should work fine after you've renamed your function and iserted it in .
Thanks, I applied your suggestion but with some syntactical changes. Code is fully tested now so 'kron' answers disallowed.
Project Euler: Problem 1, Multiples of 3 and 5
1493 Solvers
128 Solvers
Make one big string out of two smaller strings
1149 Solvers
Rotate and display numbered tile
239 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
268 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!