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).
First non-zero element in each column
MATCH THE STRINGS (2 CHAR) very easy
The sum of the numbers in the vector
Create a two dimensional zero matrix
Solving Quadratic Equations (Version 1)
Number of bytes required to store a sparse matrix
Cody Computer Part 2 - Get the license number of Cody Computer
Cody Computer Part 1 - Guess the system font used by uipanel
Convert a numerical matrix into a cell array of strings
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