function F = fftfuntion(D, omega) %Input: a matrix D ∈ RN×2, Di = (xi,yi), and the period ω
check = 0;x = D(:,1);y = D(:,2);end
I need to write a function that takes as input a matrix D ∈ RN×2, Di = (xi,yi), and the period ω. Here is what I have so far. Am I on the right track?
Best Answer