Community Profile

# Thomas Nell

Last seen: 1 year ago Active since 2018

#### Content Feed

View by

Question

How to make sure a line executes only after another line is finished?
Hey guys, I have this code below: i = 1; duration = rand(length(inverse2),1); for j = 1:length(duration) ...

1 year ago | 1 answer | 0

### 1

Question

Using findpeaks collapses the size of my array, how do i stop this happening?
Hi everyone, I have this code for my spectrum: [spectrum2,locations] = findpeaks(spectrum,5e5); locations = locations * 5e5;...

1 year ago | 1 answer | 0

### 1

Question

How to use convolution on a 2d matrix with a kernel?
Dear Mathworks community, I have the following function which i plan on using for a 2d matrix with a 2d kernel. The code is a...

1 year ago | 1 answer | 0

### 1

Question

How to create a filled circle?
Hey guys, I have this function here for drawing circles: function circles = circle(x,y,r) hold on th = 0:pi/50:2*pi; x_circ...

3 years ago | 2 answers | 0

### 2

Question

How to sort a matrix with the second row depending on the sorting of the first row?
Hey guys, I have 2 vectors, time and signal, with corresponding vectors [ 1 3 2 4 7] and [12 14 11 13 16]. I have this quic...

3 years ago | 1 answer | 0

### 1

Question

How to make a QuickSort for 2 vectors?
Hey guys, I have 2 vectors here, time [23 4 8 9 21 3 11 15 17 2] and signal [12 14 11 13 16 5 31 21 9 3]. What I want do is qui...

3 years ago | 1 answer | 0

### 1

Question

How do I filter my data points without using smoothdata?
Hey guys, I'm trying to smooth the signal from a bunch of data points in time, but I'm not allowed to use any commands from the...

3 years ago | 1 answer | 0

### 1

Question

How do I filter my data points without using smoothdata?
I have 2 variables, t and y, which are both vectors. What I want to do is smooth the data so that, for example, if t is a 10x1 v...

3 years ago | 2 answers | 0