Jose Rego Terol
Followers: 0 Following: 0
Feeds
提问
Plot segments of an array with NaN using a for loop
Hi, I got an array with NaN. I want to plot, step-by-step, those segments of integers, that exceed a threshold and flanked by N...
3 years 前 | 1 个回答 | 0
1
个回答提问
low-pass filtering a signal within a range determined by signal amplitude
Hi all, I have this problem (see the picture attached). The baseline is noisy, so I have applied a lowpass filter (1 Hz, y=lo...
4 years 前 | 1 个回答 | 0
1
个回答提问
Is uicontextmenu working for R2020a? // Answer: NO. Use R2019b instead.
Hi all, So I have this function to zoom and pan the plot by clicking the right mouse button. function zoom_pan hCM = uicont...
4 years 前 | 0 个回答 | 0
0
个回答提问
Build App. No matching files were found: Android app with simulink
Hi all, I want to install the Simulink Support Package for Android Devices. At this step (see the picture attached), my comp...
4 years 前 | 0 个回答 | 0
0
个回答已回答
Mirror bar chart: 2 bar charts, 2 y axes, 1 x axis. Is it possible?
Nearly done figure ax1 = axes('Position',[0.138095238095238 0.529474812433012 0.791904761904761 0.400525187566988]); bar(ax1,...
Mirror bar chart: 2 bar charts, 2 y axes, 1 x axis. Is it possible?
Nearly done figure ax1 = axes('Position',[0.138095238095238 0.529474812433012 0.791904761904761 0.400525187566988]); bar(ax1,...
4 years 前 | 1
提问
Mirror bar chart: 2 bar charts, 2 y axes, 1 x axis. Is it possible?
Hi all! I want to get this mirror bar chart. Tried everything but nothing works. Any idea?
4 years 前 | 1 个回答 | 0
1
个回答提问
How can I set one lsline using gscatter?
Hi, So, I got 4 groups. By using gscatter I can colour each group. Now I want one lsline but I got 4 differnet lsline, one per...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to call a function within ax=gca format
Hi, I got a plot I want to colour the X Tick labels using cmu matlab package (http://matlab.cheme.cmu.edu/2011/09/13/check-out...
4 years 前 | 1 个回答 | 0
1
个回答提问
Operations in structure with N fields named sequencially.
Hi, I created this structure (S) with 26 fields named sequencially. Each field has only one column and N number of rows (e.g....
4 years 前 | 1 个回答 | 0
1
个回答提问
The ecdf(x) always starts from the origin of the axis
Hi, The curve of ecdf starts at f(x)=0.2, x=0.04, but MatLab doesn´t feel it is a good beginning, so the curve always starts fr...
4 years 前 | 1 个回答 | 0
1
个回答提问
Problems including a new KeyPressFcn to call a function in axdrag file
Hi all, I am using this file (axdrag) with my plot. I included new lines to call a function when the key 'g' is pressed but it ...
4 years 前 | 0 个回答 | 0
0
个回答提问
How can I get the SD of baseline noise?
Hi all, This current signal was filtered at 3 kHz, and digitized gap-free signal was filtered at 6.25 kHz (160 microseconds). T...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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. ...
5 years 前 | 0 个回答 | 0
0
个回答已回答
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...
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...
5 years 前 | 0
提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 3 个回答 | 0
3
个回答已回答
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...
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...
5 years 前 | 0
提问
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 ...
5 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
5 years 前 | 0
提问
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...
5 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
5 years 前 | 0
| 已接受
提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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 ´...
5 years 前 | 0 个回答 | 0
0
个回答已回答
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...
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 years 前 | 0
已回答
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...
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...
5 years 前 | 0
提问
Problem calling multiple files through for-loop
This is the for-loop function, named spike_analysis_wrapper: function spike_analysis_wrapper() filepairs = { 'spi...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 2 个回答 | 0