Hello, I have been doing my scientific project in Radar Sensor with Arduino. I am reading the receiver value in voltage with respect to time. I use Matlab Arduino tool to read the real time voltage values which is in time domain. I need to convert those values in frequency domain. How can i get the frequency domain with FFT function in Matlab ??? I have just a simple code to read voltage values from Radar. Radar Info : 24 GHz.
%%% code %%%%%%% clear a; a = arduino('COM4','Nano'); x = 0;
while(1==1) v =readVoltage(a, 'A0'); disp(v); x =[x v]; plot(x); drawnow; grid;
Kindly shed some light in this area !!!!!