photo

Lev Mihailov


Last seen: 2 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


Number of peaks in the interval
There is a long vector (20002 values long) that I need to split into intervals (100 each) and find out the number of peaks in th...

2 years ago | 3 answers | 0

3

answers

Question


the number of elements in the vector segment
I process the signal with the findpeaks function, it gives the position numbers of these peaks, and now I need to calculate how ...

2 years ago | 1 answer | 0

1

answer

Question


draw a graph of peaks find peaks
I use the find peaks command, but it does not give me the exact coordinates for plotting [pks,locs,w,p]=findpeaks(X(1026,:),FsY...

2 years ago | 2 answers | 0

2

answers

Question


Change data tip to your notation
I build a graph using surf, when using data tip it shows me X,Y,Z. And I want it to show "Age", "Male", "Pron. dialog". s=surf(...

2 years ago | 1 answer | 0

1

answer

Question


Convert decimal and negative values ​​to integers
There are x and y coordinates that I need to convert to integer values ​​while preserving the meaning of the graph a = 0:pi/100...

2 years ago | 2 answers | 0

2

answers

Question


Create real colorbar pictures
There is a picture and I would like to create a real color bar, where yellow will be the maximum and white the minimum. clc; cl...

2 years ago | 1 answer | 0

1

answer

Question


Create a range of values ​​of the desired length
There is a range of values ​​from 16 to 42, I need to get 8 values ​​in an equal interval. Is there a function in matlab for thi...

2 years ago | 1 answer | 0

1

answer

Question


How to transfer data between two applications?
There are two applications A and B, I want the data I enter to be transmitted to application B when the button is clicked. Examp...

2 years ago | 1 answer | 0

1

answer

Question


App Designer change colormap
I need to change the color map, but matlab gives me such a warning and creates an empty graph Specify a UIAxes handle as first ...

2 years ago | 1 answer | 0

1

answer

Question


detail image (matrices)
The device for detecting holes on the roads records a long picture for me (3200: n (n-duration of the journey)), but when plotti...

2 years ago | 0 answers | 0

0

answers

Question


find the angles of a triangle given double coordinates
I am given 3 double coordinates, using them I need to find the angle (cosine and sine) of the triangle a1=1.49895; a2=2.62186;...

2 years ago | 2 answers | 0

2

answers

Question


Interpolation of data in a given area
I have 4 sets of coordinates (representing a square, I need to interpolate and get a 200x200 matrix. %set of coordinates: amax...

2 years ago | 1 answer | 0

1

answer

Question


Overlay image of road bumps on the map
I get a video of bumps, convert everything to a picture, but I can't build a map with overlaid data. I have the path and polygon...

2 years ago | 0 answers | 0

0

answers

Question


As a vector into a matrix of non-uniform length
I have an array of length n I need to make a 10xEnd matrix out of it x = rand(1,1003); % n = 1003, 2055 , 7062 Data=reshape(x,...

2 years ago | 1 answer | 0

1

answer

Question


Smooth vector data with a specific step
I need to smooth the data, but the smooth function flips the response of the data, which makes things a little more difficult x...

2 years ago | 1 answer | 0

1

answer

Question


Cycle of operations on vector sections
I'm trying to make a cycle that would process a section of the vector and return this section to me changed x=rand(1,2302) y=r...

2 years ago | 1 answer | 0

1

answer

Question


Graph smoothing not working properly
When trying to smooth the graph at the end, some kind of error occurs in its construction. %a=(1+rand(1,size(x,2))).*10^-5; % t...

2 years ago | 1 answer | 0

1

answer

Question


Create vector with unique values
I need to create a vector of length 5000 in the interval from 1 to 2 with unique values ​​(so that there are no repetitions), is...

2 years ago | 3 answers | 0

3

answers

Question


Flatten plot from two vectors
There are two data vectors. when plotting I get a sawtooth, would I like to smooth the graph? How to do this? Thank you in adv...

2 years ago | 2 answers | 0

2

answers

Question


Unable to perform assignment because the left and right sides have a different number of elements
When there are no values ​​less than 100 in my matrix, this error appears for i=1:length(NpingZ) x=find(Mdata(1:VecA(i),i)<10...

2 years ago | 1 answer | 0

1

answer

Question


Bringing arrays to the same length
There are three arrays (two vectors and a matrix), I need to bring them to the same length a=[ 1.2,1.3,1.4]; % by array "a" i n...

2 years ago | 2 answers | 0

2

answers

Question


Zero out values ​​from a specific row in a matrix
I create a matrix, I need to reset all values ​​​​above or below a certain line c = randi([50 90],1,900); % rows in the matrix ...

3 years ago | 1 answer | 0

1

answer

Question


Convert vector loop to matrix loop
There is a loop for working with a vector, can it be made to work with a matrix? z=zeros(100,900); % x=z(:,1); y=x; j=1; i=...

3 years ago | 1 answer | 0

1

answer

Question


Solving an Equation Using a Formula with an Increasing Level of Values
There is a matrix, for each section you need to add a value, how can this be done? v = [1 2 3 4] ; iwant = repmat(v,6,1) % f...

3 years ago | 1 answer | 0

1

answer

Question


How to make a matrix from a vector?
There is a simple vector, is it possible to make a matrix out of it somehow? v=[ 1 2 3 4]; m=[[ 1 2 3 4],[ 1 2 3 4],[ 1 2 3 4]...

3 years ago | 1 answer | 0

1

answer

Question


Index exceeds the number of array elements (0) when finding values ​​in a loop?
There is a very complex cycle. In it I create a vector of values, in a loop inside the loop I do my calculations, but for these ...

3 years ago | 1 answer | 0

1

answer

Question


Summing the elements of an array while maintaining its size
There is an array of data, I need to sum it while maintaining the length of the array a=[0 2 2 6] Ineed=[0 2 4 10] there are ...

3 years ago | 1 answer | 0

1

answer

Question


Offset must be a double error when reading file byte by byte
I read the file byte by byte, I know the byte structure, the small end is 220,400,600,1000 and then 1220,1620... bytes, all valu...

3 years ago | 1 answer | 0

1

answer

Question


Continue reading file after inner loop completes?
Now I'm reading the file in the matlab environment, but there was a problem, I can't force the file to be read after the loop is...

3 years ago | 1 answer | 0

1

answer

Question


How to get all data from m-function?
Hello! I created a function for reading dpv files, it contains many parameters that I receive. But in the example of creating a ...

3 years ago | 2 answers | 0

2

answers

Load more