% BE150/Bi250 Hw2 Recitation cftool example
% Victoria Hsiao 1/18/13 

clear all; clc; close all; 
k = 1; 
x = 0:1:100; 
y = x./(x+k); 

plot(x,y)
% run your model
% open curve fit tool by going to the command window 
% and typing 'cftool'
% select the appropriate x and y 
% input a custom model 'x^n/(x^n+k^n)' 

% if you're getting errors, try
% go to 'fit options' and play around with the limits and start point for the parameters

