Hello
Below detail questions.
1. In Matlab, create a program which will randomly generate five (5) control vertices in a two-dimensional region delimited by (−20 ≤ ? ≤ 20) and (−20 ≤ ? ≤ 20). The point values of X and Y are defined as integers. Plot these vertices on a chart in black. For all values of u, use proportional representation. All boundary conditions are null.
2. In the same program, create the code that automatically generates a Bezier Curve defined by the control vertices and automatically obtains the curve equation. Plot the curve in blue on the same chart as in question 1.
3. In the same program, write the code that creates a B-Spline Curve of curve order 4 defined by the control vertices and automatically obtains the curve equation using a set of non-uniform, non- periodic knots of your choice. Plot the curve in green on the same chart as in question 1.
4. In the same program, write the code that creates a NURBS Curve of curve order 4 defined by the control vertices and automatically obtains the curve equation using the same knot values as Q3, using a set of homogeneous coordinates hi which randomly vary between (0.2 ≤ h? ≤ 5.0). Plot the curve in red on the same chart as in question 1.
Please place "I am a MATLAB expert" in head of your bid.
Thank you