how to open R&S oscilloscope's waveforms Wfm.csv file in matlab via USB?

5 vues (au cours des 30 derniers jours)
nur krhn
nur krhn le 26 Jan 2016
Commenté : nur krhn le 12 Fév 2016
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?

Réponse acceptée

Walter Roberson
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by