scatter plot, stem

조회 수: 7 (최근 30일)
unkn
unkn 2021년 5월 19일
편집: unkn 2021년 5월 21일
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 .

답변 (1개)

Steven Lord
Steven Lord 2021년 5월 19일
See the islocalmax function.
  댓글 수: 1
unkn
unkn 2021년 5월 21일
sorry , i have no idea with this. please can you explain it more .

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by