


lyngby_lzit_algo - Lange-Zeger, optimization of model
function [beta, theta1,theta2, delta, Q_all] = ...
lyngby_lzit_algo(T, n, deltainit, stop, iter, fhats,
xi, Yi, theta1, theta2);
Input: T
n
Output: Q last value of costfuntion
This function will optimized the beta and theta parameters of
the Lange-Zeger model for one voxel.
See also: lyngby_lzit_main, lyngby_lzit_thopt,
lyngby_lzit_ftlamb, lyngby_lzit_beta