
Python, MATLAB, HTML, Shell, Visual Basic
Spoken Languages:
English, French, German, Italian, Spanish
Professional Interests:
Macroeconomics, Neuroscience, Statistics
Statistics
RANK
670
of 281 917
REPUTATION
100
CONTRIBUTIONS
0 Questions
46 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
12
RANK
of 19 064
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
extract all rows of a matrix except 'r' (vector) rows
mat = magic(8) r_not = [1 3:5 8]; mat(r_not,:) = [] %use mat_o = mat; to keep the original mat; There are some issues with ...
24 dagar ago | 1
Matrix to Scalar Problem
Use a dot "." before an element-wise operation, that is also to multiply, divide, raise etc a scalar value to each of the elemen...
26 dagar ago | 0
I run this but its given me issues. Can someone assist
I assume that the copy and paste of your code did not go well... but then you should've fixed it before posting. Even after fix...
26 dagar ago | 1
| accepted
There is anyway that I can plot a graph like this in MatLab with standard deviation ?
n = 15; x = randn(n,1); y = randn(n,1); sx = std(x); sy = std(y); %maybe non-randn data will have smaller std lregsrts = regst...
26 dagar ago | 0
I have a MATLab invalid expression when calling variables.
What would be the error? I can already see some errors in the OPF (I'm guessing the mistake would be using semicolons ";" inst...
26 dagar ago | 0
Matlab outer file function
Invalid use of operator "." You can't tell a function to make an output a struct (since that might break things, you can only a...
26 dagar ago | 1
| accepted
Correlation and regression between matrixes with NaN values
I see, "array1" has some islands of values in a sea of NaNs. ar1 = load(websave('rd', "https://nl.mathworks.com/matlabcentral/a...
27 dagar ago | 2
How can I reduce the number of digits in the colorbar?
You likely need something like this. surf(1+peaks*0.00001) %obvs this is a quick and bad example, it'd have helped to have the ...
28 dagar ago | 0
| accepted
What is the difference between the userpath and the startup folder?
They are different. Matlab starts in the startup folder, the initial working folder, it's displayed on the "Current Folder" pane...
ungefär 2 månader ago | 0
how can I run function in file exchange
You're right, that sauvola.m that you linked has only 45 lines (but there's no actual end that terminates the function definitio...
3 månader ago | 0
| accepted
How to select, or filter, the external border/boundary in a set of (x,y)-points?
ismember As in borders = load(websave('rd', "https://nl.mathworks.com/matlabcentral/answers/uploaded_files/1430803/borders.ma...
3 månader ago | 1
Plot a mean of ten lines of different resolution
I see, this is overly complicated. Not as in complex or difficult, as in made needlessly overly complicated. Let's just say you...
3 månader ago | 0
FFT from a excel file
Well, make sure that the data contained in channel1Data2 is numeric (double, single, int8, etc..). From the question title it ...
4 månader ago | 0
How to check whether partial correlation is significant or not at 5% significance level?
A partial correlation means you are controlling or "partialing out" some variance that is explained by -usually- another (3rd) v...
5 månader ago | 0
How To multiply this Formula to run this code Please
The fact that there is the need for a loop for these operations, that b is not simply obtained with b=-T.*h, that [ones(1,i-1), ...
5 månader ago | 0
| accepted
How to plot Confusion Matrix with tolerence limit ?
So you just want to translate the pseudo code above into working code and choose how to best plot it. The pseudo code probably d...
5 månader ago | 0
| accepted
I can't run the code I wrote the way I want. Please help me
By "I cannot change the K value at every T value" I imagine you need K to change for every iteration and therefore have sitll 6 ...
6 månader ago | 0
How shall I resolve the warning of Merging of Pdfs?
Nice little utility (and overall apache pdfbox functionality), I just tried it, it worked and it didn't even give me an error (b...
6 månader ago | 0
| accepted
Concatenate two vectors with different dimensions and sort the result in an ascending order.
vertcat(A,B) or cat(1,A,B) or just [A;B] is what you need to concatenate vertically. then just sort Your code however gives the...
6 månader ago | 1
How can I get latitude and longitude range for each US state in MATLAB?
With: states = shaperead('usastatelo'); one for example gets 'BoundingBox', 'X', 'Y' among others for each US state states(is...
6 månader ago | 0
| accepted
How do I create a colored intensity plot from location and intensity values
Could imagesc work? sysize = 100; maxintensity = 20; npoints = 13; coords = randi(sysize,[npoints,2]); imatc = nan(sysize); ...
6 månader ago | 1
| accepted
Problem with array and save file?
Do you need a 3D cell and then rehsape it or can you create it like the 2D table you want already? videosn = ["Searching for Bo...
6 månader ago | 0
| accepted
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...
7 månader ago | 0
| accepted
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...
7 månader ago | 0
| accepted
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...
7 månader ago | 1
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 ...
8 månader ago | 0
| accepted
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...
8 månader ago | 0
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...
8 månader ago | 0
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} ...
8 månader ago | 0
| accepted
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...
8 månader ago | 0