Info

This question is closed. Reopen it to edit or answer.

How would I create a function for this?

3 views (last 30 days)
Pauline Li
Pauline Li on 15 Feb 2017
Closed: Guillaume on 15 Feb 2017
Create a function called translate(dx,dy). Be sure your function suppresses all output, as we will want to use it later inside a large for loop. This function should return the matrix:
T=[1 0 dx] [0 1 dy] [0 0 1]

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!