aplly to matrix a probability distribution for submatrix

1 vue (au cours des 30 derniers jours)
Davide Di Cesare
Davide Di Cesare le 24 Nov 2015
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

Réponse acceptée

Mohammad Abouali
Mohammad Abouali le 24 Nov 2015
Modifié(e) : Mohammad Abouali le 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)

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by