Filter löschen
Filter löschen

How to plot horizontal line with waveform like the green line in the photo

2 Ansichten (letzte 30 Tage)
john m
john m am 19 Mär. 2021
Kommentiert: Mathieu NOE am 19 Mär. 2021
How i plot like the green line in the photo

Antworten (1)

Mathieu NOE
Mathieu NOE am 19 Mär. 2021
hi
looks like this would be the RMS value of the signal; so you simply have to calculate that rms value and plot it with the same length as your x vector
  2 Kommentare
john m
john m am 19 Mär. 2021
No it is not the RMS it is just a value. And how i plot in the same figure of the wave ? Can you write the code pl?
Mathieu NOE
Mathieu NOE am 19 Mär. 2021
something like
plot(xData,yData,'b',xData,my_value*ones(length(xData)),'g')

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by