Add Lab work No1

This commit is contained in:
Imants Pulkstenis
2020-03-24 20:23:39 +02:00
parent 8ee46486e8
commit 27e63599f4
4 changed files with 89 additions and 9 deletions
+6
View File
@@ -0,0 +1,6 @@
function Kexp = kexpnd(Arin,Str)
% Kompresora pastiprinajuma koeficients
Kexp=zeros(size(Arin));
% Kexp=((Str + 1).^Arin - 1)./Str;
% Kexp = (exp(Arin.*log(Str+1)) - 1 ) ./ Str;
Kexp = ((Str + 1).^Arin - 1)./(Arin.*Str);