From: Ankit Goyal on
hi Steve

convmtx2 takes a filter (in the form of a 2-D matrix) and returns to you
a convolution matrix. This matrix can be used in a matrix / vector
multiply to perform 2-D convolution.

I have image in stack form in 3D

I want a convmtx3 like function which will takes a filter (in form of a 3-D matrix) and returns us a convolution matrix which can be further used to perform 3D convolution.

I think make myself clear and what typr of function i am expecting.

Please help me Steve. I am looking forward for it.
Its very urgent.

Thanks in advance