Question

how to convert the single sided fft output into dBm

I use the example code for fft mathworks below to get a single sided fft output, but I want to convert it into dBm form does any...

3 månader ago | 0 answers | 0

Question

how to make matlab functions work not starting at the first element

I want to try to figure out how the findpeaks function doesn't work on the first array element, so suppose i have this code a =...

4 månader ago | 1 answer | 0

Question

how to change the number that decreases in the array element to the same number, for example 0 (zero)

hello everyone, I have an array element value as in the following code and this number will keep decreasing to about 10e-6, th...

4 månader ago | 1 answer | 0

Question

findpeaks [pks, locs] cannot detect NaN

Hello. I did findpeaks in the matlab simulink to input a fast fourier transform discrete sine signal with a buffer of 1000 and ...

4 månader ago | 1 answer | 0

Question

how to make nan turn into 0 in array

Hello all, im working in simulink with findpeaks and I have the code as below, for the condition if u ~ = 0 it works well, so t...

4 månader ago | 0 answers | 0

Question

why buffer on simulink (r2019b) creates delay and how to solve it?

I use a buffer on simulink r2019b to produce 1000 samples per frame (per channel), but why is there a delay so that it produces ...

4 månader ago | 1 answer | 0

Question

how to duplicate rows in a 2D matrix

hello everyone, for example I have an array like the one below, I want to duplicate the array value on row 2nd to the value on r...

4 månader ago | 1 answer | 0

Question

how to solve error Index exceeds matrix dimensions. The array locs is empty and therefore has no valid indices.

hello everyone, I have an array of frequency domain fft on simulink of [11x501] and I want to enter into the matlab function blo...

4 månader ago | 1 answer | 0

Question

Error Unable to delete elements from this array because dimension 1 has fixed size 1000

hello everyone, I want to delete the first row from the 2D Matrix array [11x1000] because it is all 0 so it interferes and cause...

4 månader ago | 1 answer | 0

Question

how to delete elements in the matlab array by overcoming the Unable error to delete elements from this array because dimension 3 has fixed size.

hello, I have a 3D matrix array of 1x1x10001 and I want to delete the first array so I use the codingan below but I get an error...

4 månader ago | 1 answer | 0

Question

How to delete rows or move rows in the 2D Matrix

I have a problem that is I have a 2D matrix of [11x1000] with the image below, it can be seen that in the initial row the value ...

4 månader ago | 1 answer | 0

Question

how to eliminate zeros in the output of fast fourier transform (matrix / array)?

I use simulink to find the frequency domain value of a sine signal that consists of two frequencies using fast fourier transform...

4 månader ago | 1 answer | 0

Question

how to mute the signal at a certain time

I have a signal data that at t = 0 to t = 1 has a constant value of 0 and only at t = 1 etc. you can see the results, how do I g...

5 månader ago | 1 answer | 0

Question

how to use findpeaks in fft (with for,if,else)

I did this code on the matlab function simulink with the input is a sine signal with a frequency of 49 and 98, and it was conver...

5 månader ago | 1 answer | 0