source:
anuga_work/development/near_shore_PMD/profile.m
@
7837
Last change on this file since 7837 was 5077, checked in by , 17 years ago | |
---|---|
File size: 316 bytes |
Rev | Line | |
---|---|---|
[5077] | 1 | clear all |
2 | clc | |
3 | ||
4 | % Nominal swash zone | |
5 | x0=(-100:1:0)'; | |
6 | h0=-0.05*x0; | |
7 | ||
8 | % Nominal surf zone | |
9 | x1=(1:1:1000)'; | |
10 | h1=-0.15*(x1.^(0.5)); | |
11 | ||
12 | % Nominal shoreface | |
13 | x2=(1001:1:10000)'; | |
14 | h2=-0.01888*(x2.^(0.8)); | |
15 | ||
16 | ||
17 | h=[h0;h1;h2]; | |
18 | x=[x0;x1;x2]; | |
19 | exp1_profile=[x h]; | |
20 | ||
21 | plot(x,h) | |
22 | ||
23 | save exp1_profile.dat exp1_profile -ascii |
Note: See TracBrowser
for help on using the repository browser.