Borrar filtros
Borrar filtros

How to create a click-train with

12 visualizaciones (últimos 30 días)
frankenberry
frankenberry el 22 de Jul. de 2017
Comentada: Stephen23 el 26 de Mzo. de 2020
DSFA
  10 comentarios
Jan
Jan el 15 de Jun. de 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 el 26 de Mzo. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

Jan
Jan el 15 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by