How would I create a function for this?

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]

回答(0 个)

此问题已关闭。

提问:

2017-2-15

关闭:

2017-2-15

Community Treasure Hunt

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

Start Hunting!

Translated by