Question

Search for the necessary highs

Hello! Faced a problem that the system sees outliers and their counting as a true signal Data(1)=[12 12 13 14 14 12 12 13 68 70...

22 hours ago | 0 answers | 0

Question

How to lock an area

Hello! I need to remove the area I can use% to make it green and remove, but is it possible to do this for a large area, and not...

2 days ago | 1 answer | 0

Question

Help with finding highs

Hello! My signal goes smoothly then at some stage it rises sharply and for a long time keeps this tendency I am trying to use t...

2 days ago | 1 answer | 0

Question

Error Index exceeds matrix dimensions

Data 1000x100 for i = 2:length(x)-1 [x ,y] = min(Data(i)); if x(i) < x(i-1)+10 && x(i) < x(i+1)+10 x(i)=x(i...

2 days ago | 1 answer | 0

Question

How to enter your data in cluster analysis?

load fisheriris [cidx2,cmeans2] = kmeans(meas,2,'dist','sqeuclidean'); [silh2,h] = silhouette(meas,cidx2,'sqeuclidean'); Hell...

9 days ago | 0 answers | 0

Question

Help with creating clustering

Hello! I have a signal X1 and X2 I need to cluster it by depth and distance, I tried k average but, they told me that you can’t ...

13 days ago | 1 answer | 0

Question

Error clustering to k mean

A= [X1;X2]; [IDX,C,sumd,D] = kmeans(A,2,'display','iter'); %%% Error using kmeans (line 269) %X must have more rows than the ...

14 days ago | 0 answers | 0

Question

Add Rows to Matrix

Hello! I'm trying to create a matrix with zero values [x,y]=min(Data); % Data 200x1000 x=1x1000 (double) a=[10 10 10...] ...

15 days ago | 1 answer | 0

Question

Matrix non-exceeding condition

Hello! I have a 1x15 matrix, the code is presented [xdata,x]=min(Data); % Data 45x350 x=[ 16 16 16 31 16 0 16....] a=[15 15 ...

16 days ago | 0 answers | 0

Question

Workspace calculation accuracy 7 characters

Hello! Faced a problem, I need to copy the numbers 7 and more characters for later work in text formats format long g digitsOl...

20 days ago | 1 answer | 0

Question

Help deal with the loop

Trying to create a loop for counting. for i=1:length(y) % y = 1xn n=100000 a = 20.224124124124 b = 7664555.5789; x1(i)=y(i)...

23 days ago | 1 answer | 0

Question

Error when taking an exponent from a large data set

Hello! I have a 1x3000 data array, I am trying to take an exponent and it gives me an error xanimal=[300 3004 1002 4000 5000 20...

23 days ago | 1 answer | 0

Question

From the number to make a fraction?

Hello! I have the number 3408289, I need to make 34,08289 out of it, how can I do this in the matlab? And then the task is to t...

23 days ago | 1 answer | 0

Question

Сombining values on a single graph

Hello! There is an array of data a b c, two 3x3 matrices belong to them, where 3 values of the first matrix 0 2 4 and the seco...

27 days ago | 0 answers | 0

Question

Display of values in the workspace

Hello! I have more intermediate values which are displayed in the work space, now I call the data I need A A1 A2. Is it possib...

27 days ago | 1 answer | 0

Question

From cell array to matrix

Hello! I have cell arrays, help me deal with the loop. for i = 1:length(Animal)-1 Y=[X{i}]; end data looks like this % X{1...

28 days ago | 2 answers | 0

Question

how to remove the last column in the matrix?

Hello! There are matrices, I need to delete the last column, how would I do this? A=[2 4 2 4 2 6 8]; [x,y]=size(A); A(:, y) =...

28 days ago | 1 answer | 0

Question

draw a graph from cell arrays

Hello! Revenge has an array of cells and for them I need to make a graph, -10 first values from my position and +10 meanings ...

29 days ago | 1 answer | 0

Question

How to find the name of a function for a known value?

Hello! My code in the matlab is very large, and now I have the task to find where it was considered, the very value of 0.98, but...

29 days ago | 1 answer | 0

Question

the logical answer is 1

ans = logical 1 I have a pretty big code with a lot of cycles and calculations, is it possible to find out where it ...

29 days ago | 1 answer | 0

Question

R2 approximation error as in Excel

Hello! In Excel, when building a trend line, it is possible to show an error of R2 approximation, and can this be done in a matl...

29 days ago | 1 answer | 0

Question

The percentage of the error of several signals

Hello! I have 6 signals. Example 1-200 201 193 2-44 45 41 3-16 17 14 4-1 1 0 5-55 58 45 6-900 920 894; I need to compare all the...

1 month ago | 0 answers | 0

Question

Interpolation of zero values in matlab

Hello! The readings from the gas sensor look like this: 70 71 0 69 0, at a temperature of 12 12.2 12.1 11.9 11.2. I try to inter...

1 month ago | 1 answer | 0

Question

Error when building a trend line

[cat,nocat]=min(Animals); % cat and dog 1x1200 [dog,nodog=max(Animals); % cat and dog 1x1200 for i=1:length(cat) pa...

1 month ago | 1 answer | 0

Question

Simple signal cleaning in matlab

Hello! I received the signal values on the atlant sensor, in version 1 they are not cleared, I cleared them as best I could, o...

1 month ago | 0 answers | 0

Question

Check for the length of the matrix

Hello! I'm trying to read a file that will give me a matrix, the dimension is 1000x200, but the problem is that it gives me 998,...

1 month ago | 1 answer | 0

Question

Tips for the Signal Analysis Function

In the lab there is a signal analysis function, when it is turned on, I cannot select my data, they are not highlighted in the w...

1 month ago | 0 answers | 0

Question

Clearing the condition signal

[a,p]=min(Data01022003) for chek = 1:length(a) if p(chek-1)+20< p(chek) & g(chek) <p(chek+1) +20 o(chek )=p(chek+...

1 month ago | 1 answer | 0

Question

Error when multiplying two vectors

Hello! I have two vectors of data that I need to multiply with each other and then podoleit B = zeros(1,2); IWant = [a B]; Wa...

1 month ago | 1 answer | 0

Question

The answer is not correct in solving the problem.

Hello! I have a signal in the range of length from 1 from 900 (the values themselves are floating from 20 to 826), and its dep...

1 month ago | 0 answers | 0