Raster plot の作製
Afficher commentaires plus anciens
スパイクの頻度を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秒までのスパイクを選択するにはどうしたら良いでしょう?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur グラフィックス オブジェクトの識別 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!