Yes, I total forgot the fact that I need to use fftn in matlab my bad. After changing that and using an array of 2^12-1 I have the same time between Julia and Matlab.
Also is it the right way to use plan_fft with the flag FFTW.PATIENT? pfft=plan_fft(Mb;flags=FFTW.PATIENT); and for one dimensional array (that the ffit I do in my main program) the time look like the same between fft of complex. Anyway so that look like the time difference between my julia program and matlab program come from some where else. I will try to use a plan_fft to see. Thank you sorry for the rookie mistake.......
