how to open R&S oscilloscope's waveforms Wfm.csv file in matlab via USB?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I save wavefoms into oscilloscope in csv format, then I send these waveforms to a USB. When tried to open and plot them with dlmread command, the plot which is drawn by matlab is exact in amplitude scale but not in time scale. How can I fix it?
0 commentaires
Réponse acceptée
Walter Roberson
le 26 Jan 2016
When you plot(), provide the time as the first parameter.
plot(t, amplitude)
If the time is not recorded in your input, then you might need to calculate it based upon the same number and sampling frequency or sampling interval. For example,
dt = 0.001234;
plot(dt * (0:length(amplitude)-1), amplitude)
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!