Harmonic Cursors

버전 1.0.0.0 (2.28 KB) 작성자: Jeffrey Daniels
Display harmonic cursors in frequency or time series plots.
다운로드 수: 1.7K
업데이트 날짜: 2003/2/3

라이선스 없음

Uses mouse-click input from user to set the value of the first harmonic, which diplays a line and lines for higher-order harmonics. Displays the value of the harmonics at the top of the axis, just above the axis box.

You can nudge the first harmonic in small increments by using the right mouse button; a right-click to the left of the first harmonic will nudge it left, and vice-versa for the right. (There is a "nudge_factor" that can be adjusted to make the nudge delta larger or smaller for your application.
If you want to remove the cursors, click once to get the crosshairs, and then click off of the axis to the left or right.

EXAMPLES: Can be used simply as a function call after a plot has been generated:
plot(x,y)
harmonic_cursors(gca)

Alternatively, the function can be called from the command line, from another function, or using a callback object by passing the axis handle of the plot as the argument.

A demo is included in the zip file.

인용 양식

Jeffrey Daniels (2026). Harmonic Cursors (https://kr.mathworks.com/matlabcentral/fileexchange/2982-harmonic-cursors), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Polar Plots에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0