Answered
I would like to find bursts among neuronal spikes.
There are several features that you may want to take into account depending on your data and on what you want to do. The simples...

1 year ago | 0

| accepted

Answered
Why do I see a drop in the last datapoint (Nyquist frequency) of the spectra derived from pwelch?
It may be because it's the Nyquist frequency, rolloff/aliasing/edge artefacts should happen afterwards at higher freqs but in so...

1 year ago | 0

| accepted

Answered
Reconstruction of a Signal from the Real Part of Its Discrete Fourier Transform for matlab
N = 14; %ns = 0:N; xn = 1/2*(randn(N, 1) +1i*randn(N,1)); %random complex signal x_n = [0+0i;xn;zeros([N,1])+0i]; % M or nume...

1 year ago | 1

Answered
I am getting the same processed image result from easch iteration of the loop.I want to get the respective processed image from each iteration of the loop.
COuld the problem (just a first glance) be here? myFiles = dir(fullfile(myDir,'*.png')); %gets all png files in struct for k ...

2 years ago | 0

| accepted

Answered
Plotting surface tangent to surface plot
You should use a matrix, not a scalar or vector, as the error says. Z (and T) are vectors, probably an issue with how you defi...

2 years ago | 0

Answered
How in the world am I supposed to install MATLAB on Linux Ubuntu 20.04?!
cd mounted/directory/with/matlab ./install But you probably already tried that. Add sudo first before the command maybe. You...

2 years ago | 0

Answered
Indexing in complex cell arrays
To simplify, since you are working with cells that contain only single colums or rows (and not multiple like in a matrix), a{1} ...

2 years ago | 0

| accepted

Answered
Extract data points from multiple plot in one figure on Matlab
Your figure axes have 3 graphic objects, the first is the green line and the last is the Observed and Simulation ones. In betwee...

2 years ago | 0

Answered
plot running time complexity
Well, in this figure the functions behind the lines are just not the simple ones displayed. Otherwise for example all n^n and n^...

2 years ago | 0

| accepted

Answered
Extract one pixel vertical stripes from multiple images and concatenate them in a new image in Matlab
folder = ''; % pwd or C:\Users\etc or /usr/local/ or fullfile or https// or whatever position = 10; % column of pixels in pixel...

2 years ago | 0

| accepted

Answered
For over three dimensional data
How is my whole Uni requesting help like this? Surely there are some people who could help within already... Anyway, you should...

2 years ago | 0

Answered
How can I remove double values in an array
"remove rows in C that has zero in the second column" so pretty much the array B but with the 2nd column values of A whenever th...

2 years ago | 0

Answered
how can I modify my code so that whenever my Y axis reaches 2.5E-6 it get constant, means no more variation with x axis.
For a question about a value or a plot, the code you shared is needelessly complicated, you could make it easier for the people ...

2 years ago | 0

Answered
How can I split the data in cells
countries = {'Finland','San Marino','Serbia','France','Germany','Spain','Ireland','Italy','United Kingdom','Bosnia and Herzego...

2 years ago | 0

Answered
plotting 12 graphs in one figure
So instead of plottin 12 figures each with mo_av, mo_max and mo_min you want 3 with 12 subplots? Would subplot(1,12,x) do? that ...

2 years ago | 0

Answered
Given vertex points of two 2D polygons plotted in 3D space (x,y,z) how to determine if they intersect?
Unfortunately intersect only works for 2D polyshape objects, whereas for 3D you can use alphaShape and then a numerical solution...

2 years ago | 1

| accepted

Answered
reading files of folders with specific name styles
Adapt, test, correct, or simplify following code: Dir_with_Att = 'C:\Users\etc\put_your_directory_path_here\maybe_use_fullfile_...

2 years ago | 0

Answered
Drop data from datatime by condition
Now I see that this was already answered, but the y-values might need to equal zero *for* a specific duration (or more), if I ge...

2 years ago | 1

Answered
How to determine muscle activation timing of an emg signal?
You can use Fieldtrip or something like below (code needs testing/cleaning) % emg = timeseries; % Fs = sampling fr...

2 years ago | 0

Answered
Save .FIG in a specific folder
Use savefig to save a Matlab .fig savefig(FIGhandle, fullfile(destdirectory_FIG, 'name_of_FIG.fig')); You can also use saveas...

2 years ago | 0

| accepted

Answered
Best path for IBKR with Matlab in 2022
When Trading Toolbox became Datafeed Toolbox in R2021a, Interactive Brokers toolbox "ibtws" (and some other stuff) was removed b...

2 years ago | 0

Answered
How to tick a categorical x-axis in errobar plot
Try reordercats Categoricals are sorted and have an associated order by default that you need to override. n = ["out of prepa...

2 years ago | 0

| accepted

Answered
How to Plot Numbers on top of Bar graphs?
Something like this? Edit: ah, too slow. Though this very basic approach might work with earlier releases too. You could get()...

2 years ago | 0

Answered
Any function to get adjacency matrix of 2D M by N lattice?
https://stackoverflow.com/a/3283732

2 years ago | 1