MATLAB: What is the time complexity

digital image processingfft2time complexity

if i will depend on fft2 for calculating weighted mean and variance of image and i will do that several times with a for loop, what will be the time complexity?? will it be O(kNlog_2(N)) where N is the image size and k is the no of times of for loop ??

Best Answer

O(k*N^2*log2(N))
for square matrices.