"Plot" image with size, position and rotation

3 次查看(过去 30 天)
Hi there! Hope you are having a good day (:
Currently, in my program I have a car that is represented by a polyshape object. The car object has 3 properties: x, y, and rotation, and the polyshape object is generated accordianly (see images below).
Screenshots
I want to replace the polyshape with an image of a car! I'm struggling to find a simple solution that will recive the image file, the x and y positions of the image and the rotation, and will plot it onto the graph.
How can I achive that? Thanks in advance!

回答(1 个)

Sindar
Sindar 2020-10-1

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by