My project on Animations

I have a project to work on and i am stump on the programs concepts and what it is asking for. Here is the instructions:
Here is so far my code: *Note i know my for loop is wrong but i cant grasp the syntax compare to C++. *And yes my name is James :D
srcFiles = dir('C:\Users\James\Documents\MATLAB\image'); for i = 1 : length(image) filename = image('',image(i).name); I = dicomread(filename); figure, imshow(I); end
*My other code that was given in the project:
writerObj = VideoWriter(myAnimation, 'MPEG-4'); writerObj.FrameRate = 0.5; open(writerObj);
a = imread('robot','jpg'); B=imresize(a,0.25); figure(1) imshow(B);
writeVideo(writeObj,'robot','jpg');
close(writeObj);
This is an example how it should look or similar to it
https://blackboard.learn.fresnostate.edu/bbcswebdav/pid-1404638-dt-content-rid-7262802_1/courses/ECE72-01-74696-2167/Sister%20Cities.mp4

2 件のコメント

KSSV
KSSV 2016 年 11 月 9 日
Okay..what is your question?
James Chang
James Chang 2016 年 11 月 9 日
It there a easier way that you can explain to me that does not confuse me because the way my professor is asking makes it confusing.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

タグ

質問済み:

2016 年 11 月 9 日

コメント済み:

2016 年 11 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by