Commit 26cede72 authored by Antonio Politi's avatar Antonio Politi

Removed obsolete files

parent 49d511f5
classdef delayedMaturationCls < absDelayedMaturation
methods
function MO = delayedMaturationCls(force, showplot)
MO@absDelayedMaturation(force, showplot)
MO.dataF = MO.dataA;
% for i=1:2
% MO.protF(3-i).core = MO.protA(i).tot_core;
% MO.protF(3-i).noncore = MO.protA(i).tot_noncore;
% end
end
function so = solve(MO, par)
area = fnval(MO.dataF(1).surfspl,0);
so = ode45(@MO.sumPores, [0:1:200], [area*4;area*6] , odeset, par, MO.dataF(1).surfspl)
end
function dydt = sumPores(MO, t, y, par, surfspl)
area = fnval(surfspl,t);
dydt(1) = par(1)*(par(2)*area - y(1)-y(2))-par(3)*y(1);
dydt(2) = par(3)*y(1);
dydt = dydt';
end
function plotResult(MO,par)
so = solve(MO, par);
plot(so.x, [so.y(1,:)./fnval(MO.dataF(1).surfspl, so.x); so.y(2,:)./fnval(MO.dataF(1).surfspl, so.x)])
%plot(so.x, par(1)*(par(2)*fnval(MO.dataF(1).surfspl, so.x)-so.y)./fnval(MO.dataF(1).surfspl, so.x))
%plot(so.x, so.y)
end
end
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment