How to plot horizontal line with waveform like the green line in the photo
3 次查看(过去 30 天)
显示 更早的评论
How i plot like the green line in the photo
0 个评论
回答(1 个)
Mathieu NOE
2021-3-19
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 个评论
Mathieu NOE
2021-3-19
something like
plot(xData,yData,'b',xData,my_value*ones(length(xData)),'g')
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!