scatter plot, stem

5 vues (au cours des 30 derniers jours)
unkn
unkn le 19 Mai 2021
Modifié(e) : unkn le 21 Mai 2021
Observe the breaks in the sorted list by calculating the first differences in the samples – at samples 7, 13, 17 forming the groups of samples 1 - 7, 8 - 13, 14 -17, 18 – 20. The gaps in the sorted list in X indicate - demarcation of potential segments.
x=[2.6498, 5.4147, 7.7189, 7.9493, 7.2581, 47.5806, 44.1244, 78.4562, 73.3871, 74.3088, 91.8203, 96.659, 95.9677, 36.9816, 35.1382, 35.5991, 40.2074, 16.4747, 9.7926, 68.0876];
y=[11.4035, 7.3099, 14.9123, 95.0292, 85.6725, 91.5205, 82.1637, 13.7427, 14.3275, 27.193, 183.9181, 177.4854, 192.1053, 157.0175, 163.4503, 175.731, 172.2222, 106.1404, 114.9123, 123.6842];
please someone can explain how the below output could get.Need matlab script to get this .

Réponses (1)

Steven Lord
Steven Lord le 19 Mai 2021
See the islocalmax function.
  1 commentaire
unkn
unkn le 21 Mai 2021
sorry , i have no idea with this. please can you explain it more .

Connectez-vous pour commenter.

Catégories

En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by