联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Matlab编程Matlab编程

日期:2025-01-16 09:09

SIM1004 FUNDAMENTALS OF COMPUTING

Page | 1

ANIMATED IMAGE

• Please submit your MATLAB files before 2300 on 17 January 2025 (Friday).

• Students who fail to submit the assignment within the specified time frame will receive the following

penalties: late for up to 2 hours – 5 marks deducted from the final mark; late for up to 5 hours – 10

marks deducted from the final mark; more than 5 hours – no mark will be given.

• If caught cheating, you will get a 0 mark on this assignment.

• Using of AI tool such as ChatGPT is strictly prohibited. 0 mark will be given if you get caught.

Overview

In this assignment, you will create two simple animated images in MATLAB. The images are:

• A Sad-Happy Face

• A Moving Vehicle

You may refer to examples of similar images provided in Spectrum. However, you are encouraged to

design your own animated images while adhering to the main concepts.

Once the images are created, the user should be able to type either ‘Happy face’ or ‘Moving vehicle’ to

display the corresponding animated image.

Important Notes

• You are not allowed to use any MATLAB functions or commands other than those covered in the

lecture slides and tutorial questions unless explicitly permitted in this assignment.

• Violation of this rule will result in a deduction of marks.

Submission Guidelines

Ensure your code is well-documented and includes clear comments explaining each step of the process.

Your submission should be zero error and able to display the animations based on the user’s input.

SIM1004 FUNDAMENTALS OF COMPUTING

Page | 2

APPENDIX

Circle Equation

A circle equation is described by

where    and    are the point coordinates on the circle line.    

and    

are the coordinates of the center of

the circle.    is the radius of the circle and    is the circle angle ranging from 0 to 2  .

  is the semi-major axis,    is the semi-minor axis, (  0,   0

) is the center coordinates and    is the rotation

angle.

To plot an ellipse in MATLAB, use function fimplicit.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp