Community Profile

photo

Jose Rego Terol


Last seen: Today
17 total contributions since 2019

Jose Rego Terol's Badges

  • Thankful Level 2
  • First Answer
  • First Review

View details...

Contributions in
View by

Question


How to filter a signal with lowpass/highpass?
Hi all, I am completely new in this field. Therefore, I need some help from the scratch. According to a protocol, I have to f...

3 days ago | 1 answer | 0

1

answer

Question


How to set a scale in a figure (similiar to Google Maps)
Hi all, I have the following set of data, time versus Intensity. When I plot them want to draw a scale that changes accordingly...

1 month ago | 1 answer | 0

1

answer

Question


Assign the space bar to ginput.
Hi all, I want to assign the key32 (spacebar) to ginput. I have a figure with spikes and I want to select manually each spike. ...

2 months ago | 0 answers | 0

0

answers

Answered
How to load two different variables, one after the other, in a nested for-loop with N number of variables for each type.
for j = 1 : length(theFiles_natSort_fs) fullFileName_fs = theFiles_natSort_fs{j}; [~, baseFileName_fs, ext] = filepart...

2 months ago | 0

Question


How to load two different variables, one after the other, in a nested for-loop with N number of variables for each type.
Hi all, I have two different files, "Spike No" and "Foot Spike". The number of each file is equal. Let's say 100 files for Spik...

2 months ago | 1 answer | 0

1

answer

Question


for loop in an array to substract the values of the array and find a specific value
I have an array of 200 values. This is the operation I need to program: The value in the position X minus the value in the posi...

2 months ago | 3 answers | 0

3

answers

Answered
How to add newline to x label of a plot ?
I tried this but I got an error. xlabel({'Time (s)';'foot-Spike:' num2str(fs)}) Error using vertcat Dimensions of arrays be...

2 months ago | 0

Question


How can I save the total number of each selection from a listdlg using num2str?
Hi all, I want to display how many times each choice of a list has been selected in the xlabel plot. This is the code for the ...

2 months ago | 1 answer | 0

1

answer

Answered
Problem finding the nearest value to specific number
I've tried with this, but I got an empty box for my parameter "ini_amp". So, the reasoning behind this code was to use "size" in...

2 months ago | 0

Question


Problem finding the nearest value to specific number
Hello, I am using this code seen in this thread: https://es.mathworks.com/matlabcentral/answers/375710-find-nearest-value-to-s...

2 months ago | 1 answer | 0

1

answer

Answered
Load concatenated .mat files in a for loop
Hi Kevin, "pad the filenames with 0's programatically and re-sort. " I tried this option "Spike Nr_01, Spike Nr_02 ... Spike N...

2 months ago | 0

| accepted

Question


Load concatenated .mat files in a for loop
Hello all. I have this code. The problem is that, when I have 11 files, the for loop takes the file "spike 11.mat" before the f...

2 months ago | 1 answer | 0

1

answer

Question


Two questdlg with two switch
Hi all, I have this code to analyze spikes. I want to include a second question dialog that is prompted when the user selects ´...

4 months ago | 0 answers | 0

0

answers

Answered
How to store two tables resulting from a for loop
Hi! This thread is being very useful but I cannot find the way to save my tables in a excel file. Here is the code for jj = 1...

5 months ago | 0

Answered
How can Ido the same operations with multiples files using for-loop
Hi Adam, Thanks for your comment. Here I attached the functions as m-files and the files I want to load both to the for-loop an...

7 months ago | 0

Question


Problem calling multiple files through for-loop
This is the for-loop function, named spike_analysis_wrapper: function spike_analysis_wrapper() filepairs = { 'spi...

7 months ago | 1 answer | 0

1

answer

Question


How can Ido the same operations with multiples files using for-loop
I developed the a code for one specific file (spike1.mat). Now I want to run this code for n files (spike1.mat, spike2.mat, spik...

7 months ago | 2 answers | 0

2

answers