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

5 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!