How to plot horizontal line with waveform like the green line in the photo
2 views (last 30 days)
Show older comments
How i plot like the green line in the photo
0 Comments
Answers (1)
Mathieu NOE
on 19 Mar 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 Comments
Mathieu NOE
on 19 Mar 2021
something like
plot(xData,yData,'b',xData,my_value*ones(length(xData)),'g')
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!