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

3 ビュー (過去 30 日間)
john m
john m 2021 年 3 月 19 日
コメント済み: Mathieu NOE 2021 年 3 月 19 日
How i plot like the green line in the photo

回答 (1 件)

Mathieu NOE
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 件のコメント
john m
john m 2021 年 3 月 19 日
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 2021 年 3 月 19 日
something like
plot(xData,yData,'b',xData,my_value*ones(length(xData)),'g')

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by