Community Profile

# MarKf

Actif depuis 2022

Followers: 0   Following: 0

Programming Languages:
Python, MATLAB, HTML, Shell, Visual Basic
Spoken Languages:
English, French, German, Italian, Spanish
Professional Interests:
Macroeconomics, Neuroscience, Statistics

All

#### Feeds

Afficher par

A répondu
How to plot a 3D cube or a horizontal slice from the following 3D data?
Alright let's write an actual answer with isocaps and patch then, the suggestion to use scatter3 in the comment above is valid b...

environ 2 mois il y a | 0

| A accepté

A répondu
Indexing array by 2 variables in a for loop
You need to select each participant for each period, then doing a ttest on only those 51(*2 data matrices possibly) datapoints, ...

3 mois il y a | 0

A répondu
Find the eigenvalue of the matrix R and store it to the variable E
R=[1 2 1; 2 3 4; 4 3 2]; R1 =[8;20;16]; r = rank(R) X = linsolve(R,R1) E = eig(R)

3 mois il y a | 0

| A accepté

A répondu
Band-Pass Filter butter problem
Something something Nyquist frequency.... If you provide the missing data to your example you could get a better answer f_st...

4 mois il y a | 0

| A accepté

A répondu
How do i find x from given y that is closest to my peak or at x=0?
I'm assuming you just have the data points of the line and not the function otherwise the question would be answered with the mo...

6 mois il y a | 0

A répondu
rotate/translate/zoom the two simultaneously generated figures within subplot
You mean with the figure utilities after plotting beetween subplots? You can use linkaxes (or linkprop for a specific property) ...

7 mois il y a | 2

A répondu
Issue with plotting two figures using for-loop method
Do you just mean that the second figure is half as high because you did subplot(2, 4,...) in the second part instead of subplot(...

7 mois il y a | 1

A répondu
Clearing the last plotted image in a for loop.
The function provided does not work out of the box (and you haven't boxed it in code format anyway) so you have more than the is...

7 mois il y a | 0

| A accepté

A répondu
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 ...

8 mois il y a | 1

A répondu
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...

8 mois il y a | 0

A répondu
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...

8 mois il y a | 1

| A accepté

A répondu
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...

8 mois il y a | 0

A répondu
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...

8 mois il y a | 0

A répondu
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...

8 mois il y a | 1

| A accepté

A répondu
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...

8 mois il y a | 2

A répondu
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 ...

8 mois il y a | 0

| A accepté

A répondu
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...

9 mois il y a | 0

A résolu

A Binary Search
One way to locate a target value in a sorted array, is to use a binary search algorithm. Here, you test if the midpoint in the a...

10 mois il y a

A résolu

Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

10 mois il y a

A répondu
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...

10 mois il y a | 0

| A accepté

A répondu
How to select, or filter, the external border/boundary in a set of (x,y)-points?

10 mois il y a | 1

A répondu
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...

10 mois il y a | 0

A répondu
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 ...

11 mois il y a | 0

A résolu

Determine point is located in a circle or not
Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle, outp...

11 mois il y a

A résolu

Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

11 mois il y a

A résolu

Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

11 mois il y a

A répondu
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...

12 mois il y a | 0

A répondu
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), ...

12 mois il y a | 0

| A accepté

A répondu
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...

12 mois il y a | 0

| A accepté

A répondu