Question


signature of values ​​when exporting to excel?
I export a 2x3 matrix to Excel, but I need to sign the values filename = 'L:\DataABC\ABS.xlsx'; A=[2 3] ABC(:,1) = A'; B=[...

4 years ago | 1 answer | 0

1

answer

Question


all values ​​on the surf chart
I create a graph of surf (X, Y, Z, C), when I click on the graph, I will get X, Y, Z. Is there any way to get C to display ?

4 years ago | 1 answer | 0

1

answer

Question


draw a line at the coordinates and paint it
I did how to draw a line along the coordinates, but I don’t know how to color it. a=[110 120 70 140 150] b=[20 30 40 50 80] r...

4 years ago | 2 answers | 0

2

answers

Question


plot3 and graph color
Hello! I have a graph in plot3 but the values ​​there are small and the graph turns out to be the same color, is there any way t...

4 years ago | 0 answers | 0

0

answers

Question


find the position (number) where the condition was met
[~,Y5] = kmeans(X,5,'Distance','cityblock',... 'Replicates',5,'Options',opts); Hello! I have such a code, it gives me all ...

4 years ago | 0 answers | 0

0

answers

Question


work with numbers in number
Hello! I have the number 40.201109, I need to work with numbers 109, and then with 110 and at the end of 40. Help me how to sepa...

4 years ago | 1 answer | 0

1

answer

Question


make a matrix from
I am given numbers 2, 4 and 8, I need to make three matrices from them, format 3x3.1x10 (this will already be a vector) and 2x4 ...

4 years ago | 1 answer | 0

1

answer

Question


exit from the cycle
Hello! If I create a cycle, I need it, when the cycle was executed, it went to the next column and saved the number of digits un...

4 years ago | 2 answers | 0

2

answers

Question


find the first change and its position
Hello! I have a 100x10 matrix, I need to find the first change and its position (the number of this position is the right number...

4 years ago | 1 answer | 0

1

answer

Question


in a loop like go back
Hello! Now I use this loop for i=1:length(data) if a(i)<=1 a(i)=a(i-1) end end but I was faced with th...

4 years ago | 1 answer | 0

1

answer

Question


Help in finding the matrix
Hello! I have a vector of values, and I need to find their location in the matrix % 1000x100 matrix % 1x100 data

4 years ago | 1 answer | 0

1

answer

Question


Prompt functions for spatial clustering
Hello! Tell me how I better cluster the data, I have the x and y coordinates and the data set (all sizes are the same) I tried s...

4 years ago | 0 answers | 0

0

answers

Question


A cycle for creating and working with zones
Hello! I have a long vector line 1x10026, I need to divide it into zones (100 values ​​in each), look at them and do operations ...

4 years ago | 1 answer | 0

1

answer

Question


subtracting two vectors to get one value
Hello! I have two column vectors and I need to subtract them to get one value, is this possible?

4 years ago | 1 answer | 0

1

answer

Question


Tell me how isoutlier function works
There is such a wonderful function isoutlier, but i can't understand data=[27 27 17 64 27 27] % gives me the correct values T...

4 years ago | 1 answer | 0

1

answer

Question


function to fill in zeros
Hello! I have an array of data where there are zeros and I need to replace them. How can I do this? data=[100 95 0 90 0 85 0 0 ...

4 years ago | 1 answer | 0

1

answer

Question


Help with unification cycle
Hello! I have been given 2 matrices in one value, zeros in another, and units I need to combine them x=[0 1 1 0 0 0 0 1 1 0 0 0...

4 years ago | 1 answer | 0

1

answer

Question


Help with building plot
x=[1:2:50] % this x coordinate where I need to plot X=[24 23 23 25 26] % values ​​where to be y [~,psk]=min(Data) % matrix 200...

4 years ago | 0 answers | 0

0

answers

Question


Problems building a plot
Data 100x10 Data(1,1)=[10 20 10 10 10 30 20 .... ] % my meanings x1 1x10 % value coordinates x2 1x10 z % coefficient for rec...

4 years ago | 1 answer | 0

1

answer

Question


How to make a loop
Hello! I have a loop and I cannot configure it correctly x=(0:1:100); n=length(x); for i=1:10 y=data(:,i)...

4 years ago | 1 answer | 0

1

answer

Question


Problems creating a chart
Hello! I'm trying to create a graph and I have a problem plot(Data','.-b') ylabel('temp') xlabel('time') f = getframe; hold...

4 years ago | 0 answers | 0

0

answers

Question


How to find the longest and shortest section?
Hello! Here is my code Data1=[12 121 122 12 12 12 12 12 12 12 63 65 70 70 70 70 71 12 12 12 12 12 12]; Data2=[20 21 20 21 21 9...

4 years ago | 0 answers | 0

0

answers

Question


help highlight adjacent values
Data=[20 21 20 21 21 90 92 93 90 93 90 59 30 102 30 21 22 23 21]'; x = 1:19'; DataTemp=Data; [TF,L,U,C] = isoutlier(DataTemp...

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 1 answer | 0

1

answer

Load more