Lev Mihailov
Followers: 0 Following: 0
Feeds
질문
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년 초과 전 | 답변 수: 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 ...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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(...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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 ...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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;...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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,...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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 ...
2년 초과 전 | 답변 수: 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=...
2년 초과 전 | 답변 수: 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...
거의 3년 전 | 답변 수: 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]...
거의 3년 전 | 답변 수: 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 ...
거의 3년 전 | 답변 수: 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 ...
거의 3년 전 | 답변 수: 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...
거의 3년 전 | 답변 수: 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...
거의 3년 전 | 답변 수: 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 ...
3년 초과 전 | 답변 수: 2 | 0