Top Banner
MatLab -et krasjkurs
11
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MatLab -et krasjkurs. gjerding/data.

MatLab

-et krasjkurs

Page 2: MatLab -et krasjkurs. gjerding/data.
Page 3: MatLab -et krasjkurs. gjerding/data.

www.stud.ntnu.no/~gjerding/data

Page 4: MatLab -et krasjkurs. gjerding/data.
Page 5: MatLab -et krasjkurs. gjerding/data.

>> load_well;>> well

well =

depth: [18163x1 double] Vp: [18163x1 double] Vs: [18163x1 double] rho: [18163x1 double] name: {1x9 cell} top: [1x9 double] bottom: [1x9 double]

Page 6: MatLab -et krasjkurs. gjerding/data.

Plott Vp mot rho for ’Ty’ formasjonen og trekk en regresjonslinje

Vp rho

1 1

2 2

. .

. .

n n

Bunn Ty

Top Ty

Page 7: MatLab -et krasjkurs. gjerding/data.

25.31.0 pV

25.paV

Gardner et al. (1974):

Brønn: a?

Vp

rho

min225. paV

i

ii

ip

ip

V

Va

41

,

41

,

Page 8: MatLab -et krasjkurs. gjerding/data.

close all; clearload_well;

frm = 4;id = find( well.depth >= well.top(frm) & well.depth <= well.bottom(frm) ) ;

% ...the regression coefficientsa = sum( well.Vp(id).^.25.* well.rho(id) ) ... /sum(( well.Vp(id) .^.25).^2);

x = [ min(well.Vp(id)) : max(well.Vp(id)) ];

subplot(2,2,1)hold onplot( well.Vp(id) , well.rho(id) ,'r.' )

legend('well',4)plot(x,a*x.^.25,'b')

xlabel('Vp [m/s]'); ylabel('rho [g/cc]');title(well.name(frm))axis tightgrid

str = num2str(a); text(2380,2.20,strcat('Gardner: rho = ',str,'Vp^0^.^2^5'))

# depth Vp Rho

1 . . .

2 . . .

. .

.

. .

n n n n

id=

Bunn ty

Top ty

i

ii

ip

ip

V

Va

41

,

41

,

Page 9: MatLab -et krasjkurs. gjerding/data.

Plotte seismikkdata = load('someData');Seiswiggle(data)

mesh(data)view(60,50)View(0,90)

Page 10: MatLab -et krasjkurs. gjerding/data.

Fourier Transform

Page 11: MatLab -et krasjkurs. gjerding/data.

Andre ting

SEGY => MatLab www.stud.ntnu.no/~gjerding

MatLab – Fortran / C++ MatLab – unix

Perl, awk, sed etc. unix