Added: 2 years ago
From: barlowns
Views: 1,009
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (4)

Sign In or Sign Up now to post a comment!
  • @gianniacampora

    Sure thing...I don't remember where I hid the code on my computer, but here is a link to spectral solver example I gave my class:

    people.clarkson.edu/~barlowns/­MA331/spectral.m

    It is set with the Fourier coefficients a,b, and c for the convective-diffusion equation. For the "puddle equation" (really just a generic 4th order dispersive wave equation), use

    a=1; b=-1/5; c=1/3*k.^4+k.^2; %puddle

    instead. have fun!

  • Please, is it possible to obtain the Matlab code? I am very interested in this simulation.

    thank you very much.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more