Graphical output from FINDPEAKS

조회 수: 1 (최근 30일)
onewhaleid
onewhaleid 2015년 6월 11일
댓글: onewhaleid 2015년 6월 11일
The documentation for findpeaks states the following:
FINDPEAKS(...) without output arguments plots the signal and the peak values it finds
For example, you can call it like this:
findpeaks(sin(0:0.1:10*pi))
I just discovered this behaviour, and I think it's quite a nice touch by the author.
Are there any other analytical functions like this that provide some kind of graphical output if there are are no explicit output arguments (instead of just returning the result to the command window)?
I know that functions like image and peaks give a graphical output, but they just use default values.

답변 (1개)

Image Analyst
Image Analyst 2015년 6월 11일
I think some of the histogramming functions will throw up a GUI (like a bar chart) if you don't collect any output variables.
  댓글 수: 1
onewhaleid
onewhaleid 2015년 6월 11일
Yes! I forgot about hist. I will add it to the list.

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

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by