Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Figures' Linear Transformations | Linear Algebra
Mathematics for Data Analysis and Modeling
course content

Kursinnhold

Mathematics for Data Analysis and Modeling

Mathematics for Data Analysis and Modeling

1. Basic Mathematical Concepts and Definitions
2. Linear Algebra
3. Mathematical Analysis

book
Challenge: Figures' Linear Transformations

Oppgave

Swipe to start coding

Linear transformations of the figures are commonly used in computer graphics. There are 2 main types of linear transformations:

  1. Rotation transformation rotates a figure around a specific point or axis.
  2. Scale transformation resizes a figure by changing its size along each axis.

Your task is to apply all these transformations to a rectangle one by one. As a result, we will have a composition of transformations:

  1. Сreate rotation matrix that rotates a figure by np.pi / 3 degrees.
  2. Create a scaling matrix with the parameters scale_x = 2 and scale_y = 0.5.
  3. Apply the rotation_matrix to the square.
  4. Apply the scaling_matrix to the result of the previous transformation.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 5
toggle bottom row

book
Challenge: Figures' Linear Transformations

Oppgave

Swipe to start coding

Linear transformations of the figures are commonly used in computer graphics. There are 2 main types of linear transformations:

  1. Rotation transformation rotates a figure around a specific point or axis.
  2. Scale transformation resizes a figure by changing its size along each axis.

Your task is to apply all these transformations to a rectangle one by one. As a result, we will have a composition of transformations:

  1. Сreate rotation matrix that rotates a figure by np.pi / 3 degrees.
  2. Create a scaling matrix with the parameters scale_x = 2 and scale_y = 0.5.
  3. Apply the rotation_matrix to the square.
  4. Apply the scaling_matrix to the result of the previous transformation.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 5
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt