selecting random numbers
Show older comments
i have a matrix 10x10 i want to select random matrix of 5x5 but the selected matrix must be in same order as the original matrix,if i choose 20x20 the random matrix must be 10x10
please help
2 Comments
Wayne King
on 7 Jan 2012
Can you elaborate on what you mean by "...must be in the same order" In your example all you're telling us is that the row and column dimensions must be 1/2 the original matrix.
kash
on 7 Jan 2012
Accepted Answer
More Answers (0)
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!