matlab -et krasjkurs. gjerding/data
TRANSCRIPT
![Page 1: MatLab -et krasjkurs. gjerding/data](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/1.jpg)
MatLab
-et krasjkurs
![Page 2: MatLab -et krasjkurs. gjerding/data](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/2.jpg)
![Page 3: MatLab -et krasjkurs. gjerding/data](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/3.jpg)
www.stud.ntnu.no/~gjerding/data
![Page 4: MatLab -et krasjkurs. gjerding/data](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/4.jpg)
![Page 5: MatLab -et krasjkurs. gjerding/data](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/5.jpg)
>> 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](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/6.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/8.jpg)
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](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/9.jpg)
Plotte seismikkdata = load('someData');Seiswiggle(data)
mesh(data)view(60,50)View(0,90)
![Page 10: MatLab -et krasjkurs. gjerding/data](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/10.jpg)
Fourier Transform
![Page 11: MatLab -et krasjkurs. gjerding/data](https://reader035.vdocuments.mx/reader035/viewer/2022070307/551a6ce85503463e778b5e79/html5/thumbnails/11.jpg)
Andre ting
SEGY => MatLab www.stud.ntnu.no/~gjerding
MatLab – Fortran / C++ MatLab – unix
Perl, awk, sed etc. unix