Trinh @ Bath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ara-prob5 [2021/03/23 15:54]
trinh
ara-prob5 [2021/03/26 11:29] (current)
trinh
Line 1: Line 1:
 ====== Monotonic shock solutions ====== ====== Monotonic shock solutions ======
 +
 +This is the caller code. You can call it 'KS_monotonic_caller.m'. Copy the below script and paste the code in and save it in an appropriate directory.
  
 <code> <code>
Line 38: Line 40:
 drawnow drawnow
 </code> </code>
 +
 +The caller code will require 'KSode.m'. Save it and run it from the same directory. Make sure you name it with the correct upper and lower-case characters.
  
 <code> <code>
Line 54: Line 58:
  
 ====== Oscillatory shock solutions ====== ====== Oscillatory shock solutions ======
 +
 +Again, you can copy and paste the below script into a Matlab file and call it, e.g. 'KS_osc_caller.m'. It will make use of the 'KSode.m' code above.
  
 <code> <code>