Check that both index versions refer to the same element. It's not a range of values I can just manually type out it's a range of sizes, and then on each value for each size, I need to add on a range of colors. A rand (3,4,2) linearInd sub2ind (size (A),2,1,2) linearInd 14. So I have a range of values that need to go into an array so I can then add a second range to each element of the array. Create an array, and find the linear index corresponding to the element in the (2,1,2) position.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |