# Making a simple movie with Octave

Page 1 of 1

## 0 Replies - 2238 Views - Last Post: 14 March 2010 - 02:47 PMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'https://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=161941&amp;s=2d395c7b4b8e9ac1cb355174e68f1232&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 TomB

Reputation: 1
• 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

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }