photo

MarKf


Aktiv seit 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

Statistik

All
  • MATLAB Flipbook Mini Hack Participant
  • MATLAB Mini Hack 2022 Participant
  • Knowledgeable Level 4
  • 12 Month Streak
  • Sequences And Series II Master
  • Speed Demon
  • Cody 10th Anniversary 10-Day Streak
  • Cody Challenge Master
  • Scholar
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Project Euler I

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Spherical Volume
Calculate the volume of a sphere.

10 Tage vor

Gelöst


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

10 Tage vor

Gelöst


area of an annulus
Given the diameter d of the inner circle of the annulus. Given length z of a chord of the outer circle of the annulus. This chor...

10 Tage vor

Gelöst


Repopulate the City
For any population p of positive integers between pmin and pmax, we can calculate histogram count n for a list of evenly dividin...

2 Monate vor

Gelöst


Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)

2 Monate vor

Gelöst


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

2 Monate vor

Gelöst


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

2 Monate vor

Gelöst


row removal
Consider a matrix and remove the first row of the matrix.

2 Monate vor

Gelöst


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

2 Monate vor

Gelöst


Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)

2 Monate vor

Gelöst


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

2 Monate vor

Gelöst


Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)

2 Monate vor

Beantwortet
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...

9 Monate vor | 0

| akzeptiert

Beantwortet
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, ...

10 Monate vor | 0

Beantwortet
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)

11 Monate vor | 0

| akzeptiert

Beantwortet
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...

11 Monate vor | 0

| akzeptiert

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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) ...

etwa ein Jahr vor | 2

Beantwortet
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(...

etwa ein Jahr vor | 1

Beantwortet
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...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
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 ...

etwa ein Jahr vor | 1

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
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...

etwa ein Jahr vor | 2

Beantwortet
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 ...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
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...

mehr als ein Jahr vor | 0

Gelöst


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...

mehr als ein Jahr vor

Mehr laden