MATLAB Answers

Correct way of using blockproc

6 views (last 30 days)
Raldi
Raldi on 13 May 2014
Answered: Walter Roberson on 13 May 2014
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?

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!