Useful in practice !
There is an error in the statement of the problem: the matrix is the smallest that is compatible with the indices, and is not necessarily square.
how about including "regexp" in the forbidden commandlist?
"regexp" should be forbidden in this problem...ps:the forbidden is so powerful that I can put "zeros" word inside my function's comment.:lol
How about forbiding regexp?
I like it
In the problem, line 3 "square matrix" should have the "square" removed; plural of index will be indices... Nevertheless I like the problem especially with all those forbidden words.
Not sure if reshape is allowed. But desciption do not prohibits it.
I am so proud of myself for solving this problem. :)) Nice challenge! :D
Nice challenge. Learned how matrix indices are used
I have completed upto creating zero matrix but can't find anything specific to insert the values! any hints?
function B = your_fcn_name(value,row,col)
but it shows error pls help me
When row and col are vectors of length n, B(row,col)=value resets all combinations of row(i) and col(j) (a total of n^2 elements); the problem wants just row(i) and col(i) (a total of n elements).
Encode Roman Numerals
Word Counting and Indexing
Remove the polynomials that have positive real elements of their roots.
Side of an equilateral triangle
Remove the two elements next to NaN value
Set the array elements whose value is 13 to 0
Combinations without using nchoosek
Create a matrix from a cell
Cody Computer Part 3 - Detect the graphic card used on Cody Computer
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