source: trunk/anuga_work/development/near_shore_PMD/time_series.m @ 7884

Last change on this file since 7884 was 5077, checked in by duncan, 16 years ago

Add info from Michael

File size: 374 bytes
Line 
1clear all
2clc
3
4% Time array
5t=(0:0.2:1800)';
6
7% Monochromatic example
8primary=1.2*sin(2*pi*t/10);
9mono=[t primary];
10save exp1a_input_waves.dat mono -ascii
11
12% Modulated example
13secondary=1.0*sin(2*pi*t/9.5);
14prim_sec=primary+secondary;
15modu=[t prim_sec];
16save exp1b_input_waves.dat modu -ascii
17
18figure(1)
19plot(t,primary)
20
21figure(2)
22plot(t,prim_sec)
23
24
Note: See TracBrowser for help on using the repository browser.