I have a matrix, and a function similar to
function val = name(matWin, a, b, c)
What is the right way of calling blockproc and passing all the arguments of the function, so i can apply it to discrete 8x8 blocks in my original matrix?

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 13 Mai 2014

0 Stimmen

blockproc(YourMatrix, [m n], @(S) name(S.data, a, b, c))
Guessing there about what your arguments mean.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by