Making a simple movie with Octave

trying to learn differences betwwen Octave an Matlab

Page 1 of 1

0 Replies - 2238 Views - Last Post: 14 March 2010 - 02:47 PM Rate Topic: -----

#1 TomB   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 23
  • Joined: 19-December 06

Making a simple movie with Octave

Posted 14 March 2010 - 02:47 PM

Hi, I'm trying to make a simple movie using just Octave versus Matlab. I know I can use the getframe method in Matlab such as
 
k = 0:199;
numFrames = 15;
for frame = 1:numFrames
   x = sin(k*2*pi/200 + pi/2 + (frame-1)*2*pi/numFrames)+1;
   b = repmat(x', 1, 200)*128;
   image(B)/>, axis image
   m(:,frame) = getframe;
end
movie(m)



will give me a simple example

I'm thinking I can somehow create a matrix and a for loop with the plot function but I'm not sure how to set it up

Any ideas?

This post has been edited by TomB: 14 March 2010 - 02:48 PM


Is This A Good Question/Topic? 0
  • +

Page 1 of 1