Make a movie out of a Crank Nicolson scheme

1 view (last 30 days)
Nicole
Nicole on 21 Oct 2014
Commented: Image Analyst on 21 Oct 2014
Hi, I am trying to make a movie out of the following code and all I get is a blank plot. I thought I just had to imbed the movie commands into the code. Can you please help. I am posting the code I want to make a movie out of and the example movie code I was trying to implement. the movie code has other stuff that we were trying out but we were mainly focused on the function not edited out.
any help would be appreciated.
  3 Comments
Nicole
Nicole on 21 Oct 2014
Geoff,
I may be wrong but I am thinking that the equations in the crank nicolson file need to be imbedded in the movie code. here is what the plot should look like.
Image Analyst
Image Analyst on 21 Oct 2014
Nicole, I don't understand why following the procedure I laid out in my demo for you would not work . Just put your equation in, instead of the demo one, and it should create your movie. Did you at least try to run the demo?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 21 Oct 2014
See my attached demo of how I made a movie with surf() then got the frames and created a movie and a disk file. It should be easy to combine with your code.

Categories

Find more on Programming 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!