- #1

- 41

- 0

% fderiv = ifft((i*k).^p .* fft(f)); % pth derivative of f(matrix containing functional values).

But when i try this for size(f)=2 ..it is not showing me the correct result.

my x is symmetric (-L,L)

1. does this method work with periodic f only or non periodic functions can be differentiated as well? If yes..how?

2. How to choose k in above program?