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!