Feeds
提问
Help with plotting an information grid
I have a n x n matrix, all of whose elements are either 0,1,2,3 or 4. Now I want to represent this matrix in the form of a n x n...
12 years 前 | 1 个回答 | 0
1
个回答提问
In the given snippet I am trying to use a matrix 'k' to store a value dynamically, using a for loop. However I am getting an error "Index exceeds matrix dimensions". Please help. Also let me know if I can use 'k' in the logical input for the for loop
Cost= [99 16 10 25 99 99 99 99 99 99; 16 99 20 3 15 99 99 99 99 99; 10 20 99 40 99 6 99 99 99 99; 25 3 40...
12 years 前 | 1 个回答 | 0
