Watch this Author's files
This is what I experimented with the code.
>> tic,A = convnfft(rand(300,300,300), ones(5,5,5), 'same');toc
Elapsed time is 8.061082 seconds.
>> tic,A = convn(rand(300,300,300), ones(5,5,5), 'same');toc
Elapsed time is 2.085360 seconds.
How can I adjust the solver such that I can solve the regular Poisson equation?
Works flawlessly! Good job!
[SOLUTION]: To be able to read the par file correctly, add the following codes in par_read_header mfile:
RescaleIntercept = vald(12);
RescaleSlope = vald(13);
ScaleSlope = vald(14);
right after the line:
Then also add the following codes:
info.RescaleIntercept = RescaleIntercept;
info.RescaleSlope = RescaleSlope;
info.ScaleSlope = ScaleSlope;
after the line: