"Plot" image with size, position and rotation

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!

カテゴリ

製品

リリース

R2020b

タグ

質問済み:

2020 年 9 月 30 日

回答済み:

2020 年 10 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by