Community Profile Luccas S.

Last seen: 1日 前 2021 以来アクティブ

Statistics

• バッジを表示

Content Feed

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

21日 前 | 1 件の回答 | 0

1

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

1

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

2

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

1

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

1

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

0

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

6ヶ月 前 | 1 件の回答 | 0

1

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

6ヶ月 前 | 1 件の回答 | 0

1

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

6ヶ月 前 | 1 件の回答 | 0

1

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?

7ヶ月 前 | 1 件の回答 | 0

1

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

9ヶ月 前 | 1 件の回答 | 0

1

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?

9ヶ月 前 | 1 件の回答 | 0

1

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

9ヶ月 前 | 1 件の回答 | 0

1

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

10ヶ月 前 | 1 件の回答 | 0

1

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

10ヶ月 前 | 1 件の回答 | 0

1

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

10ヶ月 前 | 1 件の回答 | 0