Community Profile

photo

Lev Mihailov


Last seen: 2달 전 2019년부터 활동

Statistics

  • Thankful Level 4

배지 보기

Content Feed

보기 기준

질문


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

4달 전 | 답변 수: 3 | 0

3

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

5달 전 | 답변 수: 2 | 0

2

답변

질문


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

5달 전 | 답변 수: 1 | 0

1

답변

질문


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

5달 전 | 답변 수: 2 | 0

2

답변

질문


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

6달 전 | 답변 수: 1 | 0

1

답변

질문


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

6달 전 | 답변 수: 1 | 0

1

답변

질문


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

6달 전 | 답변 수: 1 | 0

1

답변

질문


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

6달 전 | 답변 수: 1 | 0

1

답변

질문


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

7달 전 | 답변 수: 0 | 0

0

답변

질문


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

8달 전 | 답변 수: 2 | 0

2

답변

질문


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

8달 전 | 답변 수: 1 | 0

1

답변

질문


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

8달 전 | 답변 수: 0 | 0

0

답변

질문


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

8달 전 | 답변 수: 1 | 0

1

답변

질문


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

8달 전 | 답변 수: 1 | 0

1

답변

질문


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

8달 전 | 답변 수: 1 | 0

1

답변

질문


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

8달 전 | 답변 수: 1 | 0

1

답변

질문


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

8달 전 | 답변 수: 3 | 0

3

답변

질문


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

8달 전 | 답변 수: 2 | 0

2

답변

질문


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

9달 전 | 답변 수: 1 | 0

1

답변

질문


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

9달 전 | 답변 수: 2 | 0

2

답변

질문


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

9달 전 | 답변 수: 1 | 0

1

답변

질문


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

9달 전 | 답변 수: 1 | 0

1

답변

질문


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

9달 전 | 답변 수: 1 | 0

1

답변

질문


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

9달 전 | 답변 수: 1 | 0

1

답변

질문


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

9달 전 | 답변 수: 1 | 0

1

답변

질문


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

9달 전 | 답변 수: 1 | 0

1

답변

질문


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

10달 전 | 답변 수: 1 | 0

1

답변

질문


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

10달 전 | 답변 수: 1 | 0

1

답변

질문


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

1년 이상 전 | 답변 수: 2 | 0

2

답변

더 보기