You can create a random structure using the rand
function in MATLAB. To get the value from row 2 and column 5, you simply access that element using the row and column numbers as indices. Here's an example:
main.m109 chars6 lines
This will create a random 5x5 structure and get the element in row 2 and column 5. You can replace the numbers 2 and 5 with the row and column numbers you're interested in.
gistlibby LogSnag