Raster plot の作製
이전 댓글 표시
スパイクの頻度をTime stampで表したもの(添付ファイル:timestamp.mat)をプロットする為に、以下のスクリプトを用いました。
load('timestamp.mat');
t=SPKCa;
n = numel(t);
x =t;
ystart=repmat(0,1,n);
yend=repmat(1,1,n);
figure; hold on;
for idx =1: numel(ystart)
plot([x(idx) x(idx)], [ystart(idx) yend(idx)],'k');
end
これに時間指定、例えば1秒から2秒までのスパイクを選択するにはどうしたら良いでしょう?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 グラフィックス オブジェクトの識別에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!