Azzera filtri
Azzera filtri

How to create a click-train with

12 visualizzazioni (ultimi 30 giorni)
frankenberry
frankenberry il 22 Lug 2017
Commentato: Stephen23 il 26 Mar 2020
DSFA
  10 Commenti
Jan
Jan il 15 Giu 2018
@Patricia: I've posted my comment as answer now. If it really helps you already, you can accept it. If you've found better details by your own, you can post them also and accept your own answer.
Stephen23
Stephen23 il 26 Mar 2020
Original question from Google Cache:
"How to create a click-train with"
I need to create a click-train of 1s presented as 1 then two 1s then three 1s. The SOA is 75 ms. Each 1 is 100 microseconds and the interclick interval when there are two or three 1s is 4 ms. The SOA stays the same at 75 ms no matter if there is one,two, or three ones. It seems it should be quite easy.

Accedi per commentare.

Risposta accettata

Jan
Jan il 15 Giu 2018
Your code looks okay. I'd omit the useless "clear,clc" and use fullfile instead of concatenating file names by [pth 'clicktrains_' ici_str '_' soa_str '_Fs32e3.xls'], but these are more cosmetic modifications. I do not see a potential for substantial improvements.

Più risposte (0)

Categorie

Scopri di più su Search Path in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by