Question

Is there any way to restrict my graph?

Hi, I need to plot several signs in one plot, about 20-30 signals in one graph. I want all the signals to be clear (more or less...

7 years ago | 0 answers | 0

Question

how can i extract data between 4 points in a matrix?

I have a matrix and 4 vertices of a rectangle. The rectangle is not aligned with the axes,i.e the rectangle is slanted. I want t...

7 years ago | 1 answer | 0

Question

how can i calculate the angle between a vector and the x axes?

Hi, How can i calculate the angle between a vector and the x axes of my figure? I have been trying to find a function but with ...

7 years ago | 2 answers | 0

Question

How can i calculate the max value in a polygon?

Hi, I have an image and i have a certain polygon that i draw on the image.I would like to know what is the max value in this po...

7 years ago | 2 answers | 0

Question

How can i extract part of a matrix when the part i'm extracting is slanted?

I have an image and i used the impoly() command do draw a slanted rectangle. I have the positions of the vertex of the rectangle...

7 years ago | 3 answers | 0

Question

How can i convert a polygon into a rectangle?

I have a 4 side polygon that i draw on a video frame. I would like to take this polygon and make it a rectangle so i will be abl...

7 years ago | 2 answers | 0

Question

How can i draw a slanted rectangle in a frame?

I have a code that takes a video,split it into frames and then asks me how many rectangles would i like to draw on the frame (th...

7 years ago | 1 answer | 0

Question

How do i separate a video into frames without displaying all the frames in different figures?

I have a code that takes a video and separate it into frames.I would like to NOT keep all the frames, instead i want each frame ...

7 years ago | 1 answer | 0

Question

How can i skip the zeros in a matrix?

Hi, I have a matrix with columns filled with zeros and i want to copy the matrix into a new matrix but to skip the columns with...

7 years ago | 1 answer | 0

Question

Don't know how to write the loop

Hello, I would like to address a certain column and run over the rows and check if the values in my matrix 'vector' are between...

7 years ago | 2 answers | 0

Question

Interpolation in mat-lab

Hi, I have a vector with different values. Some of the values are zeros and sometimes they even come one after another. I nee...

7 years ago | 1 answer | 0

Question

Can't understand the warning

Hi, My code works but every time it runs through line 13 it writes on the command window :"Warning: Integer operands are requir...

7 years ago | 2 answers | 0

Question

Pointing to a certain area and calculate the average

Hi, How can i calculate the average of a certain place in an image with mat-lab? For example if i have an intensity image with...

7 years ago | 2 answers | 0