Create a random matrix with small gradient
10 views (last 30 days)
Show older comments
I'd like to create a special random matrix with a small gradient. That is to say, this matrix contains elements from 0 to 1 and follows a specific distribution (unfortunately my math is bad, and I don't know what distribution it is) so that the difference among an element and its surrouding elements is smaller than a given number (for example 0.1). Could anyone give some hints regarding this problem?
1 Comment
Answers (1)
See Also
Categories
Find more on Creating and Concatenating Matrices 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!