Assignment3_part2

jpg

School

Concordia University *

*We aren’t endorsed by this school

Course

412

Subject

Mathematics

Date

Nov 24, 2024

Type

jpg

Pages

1

Uploaded by Montreal514

Report
. In an Excel spreadsheet or MATLAB, randomly select four (4) different control vertices, labelled 1 to 4, in a two-dimensional region delimited by (—10 < X < 10) and (—10 < Y < 10). The point values of X and Y are defined as integers. Do not select vertices that form a straight line. . Plot these vertices on a chart in black. . In the same program, create the code that automatically generates a Hermite Curve between the first and last control vertices, using the value of 1 as Po” and P;". Plot the curve in o1 212¢ on the same chart as 1n question 1. . In the same program, create the code that generates a Cubic Spline defined by the control vertices and automatically obtains the curve equation. Plot the curve in purple on the same chart as in question 1. For values of u, use proportional representation. All boundary conditions are null. . 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. . In the same program, write the code that creates a B-Spline Curve of curve order 3 defined by the control vertices and automatically obtains the curve equation. Plot three curve on a separate graph, mn different colors, using 3 different sets of knots of your choice.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help