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.
Find the numeric mean of the prime numbers in a matrix.
Size of this cup?
Longest run of consecutive numbers
Find Index of maximum Value and maximum Value of a vector
kmph to mps
Solve the set of simultaneous linear equations
Create a square matrix of multiples
How long do each of the stages of the rocket take to burn?
Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
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