Community Profile

photo

MarKf


2022년부터 활동

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

통계

All
  • MATLAB Mini Hack 2022 Participant
  • 12 Month Streak
  • Knowledgeable Level 3
  • Leader
  • 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

배지 보기

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일 전 | 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일 전 | 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일 전 | 1

| 수락됨

답변 있음
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일 전 | 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일 전 | 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일 전 | 1

| 수락됨

답변 있음
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일 전 | 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일 전 | 0

| 수락됨

답변 있음
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...

대략 2개월 전 | 0

문제를 풀었습니다


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

3개월 전

문제를 풀었습니다


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

3개월 전

답변 있음
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개월 전 | 0

| 수락됨

답변 있음
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개월 전 | 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개월 전 | 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개월 전 | 0

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


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

4개월 전

답변 있음
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개월 전 | 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개월 전 | 0

| 수락됨

답변 있음
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개월 전 | 0

| 수락됨

답변 있음
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개월 전 | 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개월 전 | 0

| 수락됨

답변 있음
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개월 전 | 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개월 전 | 0

| 수락됨

답변 있음
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개월 전 | 1

| 수락됨

답변 있음
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개월 전 | 0

| 수락됨

문제를 풀었습니다


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

6개월 전

문제를 풀었습니다


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

6개월 전

문제를 풀었습니다


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

6개월 전

더 보기