how I can get peak and mean

1 vue (au cours des 30 derniers jours)
Ishaq Alshuaili
Ishaq Alshuaili le 3 Mai 2021
Commenté : DGM le 5 Mai 2021
hi
I have data with 2 method, I plot with one carve, how I can get mean and peak?

Réponses (1)

DGM
DGM le 3 Mai 2021
You mean something like this?
mean(myarray(:))
max(myarray(:))
  5 commentaires
Ishaq Alshuaili
Ishaq Alshuaili le 5 Mai 2021
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 le 5 Mai 2021
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?

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by