matlab least square method is used for curve fitting,it is wide use in mahematical and simulation area. one can just extract the file , and then can use matlab to run it .help yourself just
File list:
LSM.m
Matlab中文论坛--助努力的人完成毕业设计.url
使用帮助:新手必看.htm