photo

Luccas S.


Last seen: 6 días hace Con actividad desde 2021

Followers: 0   Following: 0

Estadística

  • Thankful Level 4

Ver insignias

Feeds

Ver por

Pregunta


Out of memory error
I'm trying to run the code below, it works well and does its job. The problem is that it is not capable of running all iteration...

6 días hace | 1 respuesta | 0

1

respuesta

Pregunta


How to add a sum of frequency band or a specific frequency to the wsst function
I would like to sum up the values ​​found in the intervals or a specific frequency range, as shown in the image below: The gr...

2 meses hace | 1 respuesta | 1

1

respuesta

Pregunta


Correlation Matrix Problem of Three Decomposition Level of DWT
I'm trying to apply a DWT with 3 composition levels and the following question arose when calculating the composition matrix. Th...

5 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


Error using vertcat Dimensions of arrays being concatenated are not consistent..
The code below is showing the following error Error using vertcat Dimensions of arrays being concatenated are not consistent....

5 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


How to place a subplot with the same dimensions as ax.width, ax.height and ax.Position
I am plotting a graph and I would like the start of the subplot(3,1,1) to coincide with the start of the subplot (3,1,2) and (3,...

5 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Remove white/blank space from plot
Is there any way to remove the areas or reduce the blank parts of the plot as much as possible?

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Store one vector range inside another
How to store the values ​​of vector x, say from x(50,1) to x(100,1)? I tried in the following way, but it didn't work. RES_B...

alrededor de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to check if there are more ones than zeros in the variable.
For example, if there is the variable x; x = [1 1 1 1 1 1 1 1 0 0 0]; How to check if it has ones than zeros?

alrededor de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible to apply imdilate and imerode to a signal and not an image?
The question is exactly the topic name. I want to apply morphological gradient to a current signal, so I would like to know if i...

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Define origin and length of the Strel function
I'm trying to create the following structuring element (SE): The underline bar represents the origin of the SE. For example...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Add Gaussian Noise to a Signal
I'm trying to add a 65 db Gaussian noise to a current signal. With the following function: Ia = awgn(Ia,65) The problem is tha...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Exclude the NaN, 0, empty and Inf values ​​from the analysis.
When calculating the PE value, I would like it not to calculate when Ia_future = 0, Nan or Inf. I believe the way I did it, it'...

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


elseif when the flag is not true
I have this part of my code, and I was wondering if this way of implementation is right. flag=flag & PE(n,1)>p_fix if count1==...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Check if the condition happened in previous cycles
I'm trying to make a condition to analyze every 5 cycles, but I need the value of p_fix (threshold) not to exceed PE. As I did, ...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Skip analysis when you have NaN or 0
I think I am having problems with my analysis result due to the presence of NaN and 0. How to skip analysis when I have NaN or 0...

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Cycle counter with reset
I apologize for not having developed any code for this part, because I have no idea how to do it. So, I'm going to work with the...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to get the highest value from the latest samples?
I have code that calculates an error for each sample, and I would like to always get the highest value from the last samples. e...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error using / Matrix dimensions must agree and Forward Linear Prediction
I'm trying to predict the future values of my data sample with the following code: for n = 1:size(t,1) if n>=3 X = [...

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Plot for different values
Hi, I'm trying to vary the value of Q but the values ​​aren't changing. HfTOTAL = 26.8708 Hg = 30 Q = 0:50:450; K = HfTOTAL....

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Multiplying matrices with values ​​in polar form
Hello, I'm trying to perform the following operation (Image). I did the operation in complex form in matlab and it worked, but I...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Write a complex number in polar form
Hello,I would like to know how do I write a complex number in its polar form. Like the image below. Mycode: Soperacao = (0.8*...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


rounding the imaginary part of the number
Z1 = 0.0000e+00 + 7.8765e-04i I would like the result to appear as 0.0008i in the imaginary part, how to do this?

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Solve an equation like the HP calculator solve
I would like to know if there is any way to solve an equation like HP's solve, I wanted to find out the value of To2 without hav...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I wanted the matlab to show 5 places after the comma.
I know this is possible with 'format long'. But I wanted to specifically limit it to 5, is there any way to do that?

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Problem with radians and degrees
I am implementing this code. And the result does not match at all. The result must be in radians and the result must be the fo...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I need to plot the same graphic of the image, but without any loop.
With loop i get this: clear clc x = -5*pi:pi/100:5*pi; k = 0; y = zeros(size(x)); for k = ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to save a txt file in matlab with the specified name I want?
Example: filename = input('Enter the file name: ','s') A save(fullfile('directory path','filename.txt'),'A','-ascii')

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to enter negative values ​​and values ​​greater than 9 in input with string.
clear clc n=10; ii=1; V=0; display('number between 10 and 20!') while ii<10 teste = input('Enter a value: ','s') ...

más de 3 años hace | 1 respuesta | 0

1

respuesta