how I can get peak and mean

1 次查看(过去 30 天)
Ishaq Alshuaili
Ishaq Alshuaili 2021-5-3
评论: DGM 2021-5-5
hi
I have data with 2 method, I plot with one carve, how I can get mean and peak?

回答(1 个)

DGM
DGM 2021-5-3
You mean something like this?
mean(myarray(:))
max(myarray(:))
  5 个评论
Ishaq Alshuaili
Ishaq Alshuaili 2021-5-5
p = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36]
z = [0 0.0100 0.0200 0.0300 0.0400 0.0500 0.0600 0.0700 0.0800 0.0900 0.1000 0.1100 0.1200
0.1300 0.1400 0.1500 0.1600 0.1700 0.1800 0.1900 0.2000 0.2100 0.2200 0.2300 0.2400 0.2500
0.2600 0.2700 0.2800 0.2900 0.3000 0.3100 0.3200 0.3300 0.3400 0.3500]
DGM
DGM 2021-5-5
The vectors you pasted don't seem to have anything to do with the image. They're just linear vectors. What is the relationship between this and the image?

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by