Motion of a square
Good morning, I am asking for a review of the code that I am leaving as an attachment. The objective of the code should be to take as input the position of 4 points inside the square (integral with respect to the square, fixed in the face). Through an analysis of the variation of the 4 x and y coordinates you want to construct a code that simulates the motion of the square built around these points. What is to appear on the screen will be a black square with 4 fixed white points inside moving in a gray plane. The data with the positions are extracted from a text file that comes from a camera capture. Thank you in advance for your help.Good morning, I am asking for a review of the code that I am leaving as an attachment. The objective of the code should be to take as input the position of 4 points inside the square (integral with respect to the square, fixed in the face). Through an analysis of the variation of the 4 x and y coordinates you want to construct a code that simulates the motion of the square built around these points. What is to appear on the screen will be a black square with 4 fixed white points inside moving in a gray plane. The data with the positions are extracted from a text file that comes from a camera capture. Thank you in advance for your help. Good morning, I am asking for a review of the code that I am leaving as an attachment. The objective of the code should be to take as input the position of 4 points inside the square (integral with respect to the square, fixed in the face). Through an analysis of the variation of the 4 x and y coordinates you want to construct a code that simulates the motion of the square built around these points. What is to appear on the screen will be a black square with 4 fixed white points inside moving in a gray plane. The data with the positions are extracted from a text file that comes from a camera capture. Thank you in advance for your help. motion simulation MATLAB Answers — New Questions