How to create a click-train with

7 views (last 30 days)
frankenberry
frankenberry on 22 Jul 2017
Commented: Stephen23 on 26 Mar 2020
DSFA
  10 Comments
Jan
Jan on 15 Jun 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 on 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.

Sign in to comment.

Accepted Answer

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

More Answers (0)

Categories

Find more on Search Path in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!