aplly to matrix a probability distribution for submatrix

2 views (last 30 days)
Hello ! I would apply to my matrix , a generical probability distribution (such as normal) for submatrix IXJ ( i = j ) (for example, 4x4 or 3x3) . I'm attaching a picture to explane better my problem. how can I write this code? thanks

Accepted Answer

Mohammad Abouali
Mohammad Abouali on 24 Nov 2015
Edited: Mohammad Abouali on 24 Nov 2015
It appears for your case, if your kernel (or probability distribution) is symmetric you can use both conv2() or xcorr2(). If it is not symmetric you should use xcorr2)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!