Question

Using imagesc and scatter together

Hello! I need to impoverish these two teams and there must be 2 colorbar, how do I do this ??? x=[1:150] y=[1:150] z=rand(1,1...

4 days ago | 0 answers | 0

Question

Problems exporting from matlab to exel

AV = {'1 nord', '2 ott','3 teta(double)' , '4 gama ','5 val(single)', '6 teta2( uint16 ) '}; AVt=rand(10000, 6) AVtNord=[AV;A...

2 months ago | 1 answer | 0

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

2 months ago | 1 answer | 0

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 ?

2 months ago | 1 answer | 0

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

2 months ago | 2 answers | 0

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

2 months ago | 0 answers | 0

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

2 months ago | 0 answers | 0

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

2 months ago | 1 answer | 0

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

3 months ago | 1 answer | 0

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

3 months ago | 2 answers | 0

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

3 months ago | 1 answer | 0

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 months ago | 1 answer | 0

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

5 months ago | 1 answer | 0

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

5 months ago | 0 answers | 0

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

5 months ago | 1 answer | 0

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?

5 months ago | 1 answer | 0

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

5 months ago | 1 answer | 0

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

5 months ago | 1 answer | 0

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

5 months ago | 1 answer | 0

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

5 months ago | 0 answers | 0

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

5 months ago | 1 answer | 0

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

5 months ago | 1 answer | 0

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

5 months ago | 0 answers | 0

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

5 months ago | 0 answers | 0

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

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

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

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

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

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

6 months ago | 1 answer | 0