how to plot spikes?
9 次查看(过去 30 天)
显示 更早的评论
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
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
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrophysiology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!