Hi!
M-Files :
function [epsr epsi] = RelDielConst_PureWater(t,f) %Model Paramaters
a=[0.63000075e1 0.26242021e-2 0.17667420e-3 0.58366888e3 0.12634992e3 ... 0.69227972e-4 0.30742330e3 0.12634992e3 0.37245044e1 0.92609781e-2]; %Eqn parameters
epsS = 87.85306*exp(-0.00456992*t); epsOne = a(1)*exp(-a(2)*t); tau1 = a(3)*exp(a(4)/(t+a(5))); tau2 = a(6)*exp(a(7)/(t+a(8))); epsInf = a(9) + a(10)*t; %Permitivity Calculation
eps = ((epsS-epsOne)./(1-j*2*pi.*f.*tau1)) + ((epsOne-epsInf)./(1-j*2*pi.*f.*tau2)) + (epsInf); %Extracts the real and imaginary components of relative permitivity
epsr = real(eps); epsi = imag(eps); end
Best Answer
Here's a framework you can modify http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component but since you have only 3 or 4 controls, it might be better for you to just make your own with GUIDE like Geoff said. It should be trivial once you have viewed this tutorial http://blogs.mathworks.com/videos/category/gui-or-guide/