i can't run this program , the output is (Saturation: LinearInterval: [NaN NaN]), i don't know the meaning of the ouput
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
mohamed
am 4 Apr. 2013
Kommentiert: mazen ali
am 13 Sep. 2017
%water saturation calculation
Q=input('porosity of formation=');
Rw=input('water resistivity=');
Rt=input('true resistivity=');
x=input('type of formation=');
if x==sandformation
f=.62/Q^2.15;
elseif x==compactedformation
f=1/Q^2;
elseif x==chalkyformation
f=1/Q^2.2;
end
Ro=f*Rw;
s=sqrt(Ro/Rw);
sw=s*100;
disp(sw);
1 Kommentar
mazen ali
am 13 Sep. 2017
Yes, I think you should rename your m-file ... don't use the name saturation. Mazen
Akzeptierte Antwort
Andrei Bobrov
am 4 Apr. 2013
x=input('type of formation=','s');
switch x
case 'sandformation'
f=.62/Q^2.15;
case 'compactedformation'
f=1/Q^2;
otherwise % or case 'chalkyformation'
f=1/Q^2.2;
end
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Point Cloud Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!