-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to plot CSI amplitude vs Time #58
Comments
请问您是用路由器进行发送吗 |
Hi @abhinav2938 How did you calculate the amplitude? |
Hi, Calculating the CSI amplitude is very easy once you get the CSI complex data. Just take the absolute value of the CSI amplitude and use db to convert it into the decibel scale. For plotting the CSI amplitude vs no. of packet just create a loop which runs n times(no. of packets collected). e.g. if you collected 100 packets, just create a loop which runs 100 times and calculates the value of CSI amplitude for each loop. Then you can plot the CSI amplitude. |
Did you try looking at this page: The above code converts the CSI complex values into db values and again store it in a cell array, you can't plot from a cell array. you will have to extract the CSI amplitude value in a matrix form and then you can plot function to plot it. |
Still not able to plot, after implementing above solution |
can anyone please tell me how to plot csi amplitude vs no of packets in matlab? |
Hi,
I am able to receive the CSI amplitude vs no. of packets graph. But I don't know how to plot it in time domain. I know that the graph of CSI amplitude vs no. of packets gives data in time domain, but I want it specifically to plot amplitude vs time because I need to further process it for generating spectrogram. I am attaching one screenshot of my plot.
Any help is highly appreciated.
The text was updated successfully, but these errors were encountered: