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.
Determine if a Given Number is a Triangle Number
Equidistant numbers containing certain value in an interval
Maintain shape of logical-index mask
Cody Computer Part 1 - Guess the system font used by uipanel
Output any real number that is neither positive nor negative
Find the "ordinary" or Euclidean distance between A and Z
Find the largest value in the 3D matrix
Similar Triangles - find the height of the tree
Create a square matrix of multiples
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office