Line | |
---|
1 | function y=wavdist2(za)
|
---|
2 | % WAVDIST2: plots wave distortion effects on wind at za.
|
---|
3 | % WAVDIST2(za) plots the effects of wave distortion on the
|
---|
4 | % wind Ua measured at height za for the following significant
|
---|
5 | % wave heights Hw=[0:2:8] in m.
|
---|
6 | %
|
---|
7 | % INPUT: za - wind measurement height [m]
|
---|
8 |
|
---|
9 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
10 | % 5/5/97: version 1.0
|
---|
11 | % 4/10/98: version 1.1
|
---|
12 | % 8/5/99: version 2.0
|
---|
13 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
14 |
|
---|
15 | Hw=[0:2:8];
|
---|
16 | Ua=[0.01:.01:20]';
|
---|
17 |
|
---|
18 | N=length(Hw);
|
---|
19 | M=length(Ua);
|
---|
20 | Ut=zeros(M,N);
|
---|
21 |
|
---|
22 | clg
|
---|
23 | hold on
|
---|
24 | for n=1:N
|
---|
25 | Ut=wavdist1(Ua,za,Hw(n));
|
---|
26 | plot(Ua,Ut)
|
---|
27 | end
|
---|
28 |
|
---|
29 | title(['Predicted effects of wave distortion on wind speed at height ',num2str(za),' m'])
|
---|
30 | xlabel('Measured wind speed Ua (m/s)')
|
---|
31 | ylabel('Predicted wind speed Ut (m/s)')
|
---|
32 | text(10,2,'Wave height increment = 2 m')
|
---|
33 | grid
|
---|
34 |
|
---|
35 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.