how to plot spikes?

조회 수: 9 (최근 30일)
bsd
bsd 2011년 9월 19일
Hai,
I have a 3 dimensional graph. I need to plot spikes at required points. How is this possible in matlab? Looking forward to hearing from you soon.
BSD
  댓글 수: 1
the cyclist
the cyclist 2011년 9월 19일
Your original question was very brief, and in the comments below you are trickling out very small amounts of information about what you want. Might I suggest you try to create a more detailed question with ALL the information about what you want, and what you tried, so that we do not waste everyone's time trying to guess?

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

답변 (1개)

Michael Leung
Michael Leung 2011년 9월 19일
I'm not sure what kind of "spikes" you are looking for, but the simplest way I can think of is to create a matrix of data, with a 2d gaussian centered at where you want your "spike" to be located, and then add them all up before plotting.
if you want your spikes sharper (taller and thinner), just decrease the standard deviation.
  댓글 수: 3
Image Analyst
Image Analyst 2011년 9월 19일
How about surf()?
bsd
bsd 2011년 9월 19일
I have tried surf, it gives a planar peak(spike), but not a volumetric peak(spike).

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by