My project on Animations
Show older comments
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
Answers (0)
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!