MATLAB Answers

how to plot the mean of values from swept data

4 ビュー (過去 30 日間)
Em
Em 2020 年 11 月 17 日
コメント済み: Em 2021 年 1 月 18 日
Hi everyone,
I have a array of data where I ramped one variable and measured another a number of times. I would like to find the average of the independent variable at each data point in order to plot this. Does anyone have any suggestions on how I could do this?
Cheers!
Em

採用された回答

Cris LaPierre
Cris LaPierre 2020 年 11 月 17 日
Sure. Use groupsummary. Your grouping variable is your dependent variable, your method is 'mean', and your datavar is your independent variable.
Take the results and plot.
  11 件のコメント
Em
Em 2021 年 1 月 18 日
This is exactly what I was looking for, thank you!

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by