how to open R&S oscilloscope's waveforms Wfm.csv file in matlab via USB?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2016-1-26
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)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!