Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Parameter Identification Homework: Least Squares & Quadratic Models for Price Data - Prof., Assignments of Mathematics

A homework assignment for students to identify the least squares and quadratic models for given price data using matrix form and normal equations. Students are also asked to predict prices at a future time using matlab. The assignment covers topics in linear algebra, regression analysis, and numerical optimization.

Typology: Assignments

Pre 2010

Uploaded on 03/10/2009

koofers-user-ws0
koofers-user-ws0 🇺🇸

5

(1)

10 documents

1 / 1

Toggle sidebar

Related documents


Partial preview of the text

Download Parameter Identification Homework: Least Squares & Quadratic Models for Price Data - Prof. and more Assignments Mathematics in PDF only on Docsity! Parameter Identification Homework 2 1. Consider the price data >> [time' price'] 1 2000 2 1960 3 1930 4 1905 5 1890 (a). Find matrix form of the least squares and the linear model mt + c. (b). Find and solve using Matlab the normal equations for m and c. (c). Use these m and c to predict the price a time equal to 10. 2. Consider the above price data, but now use the quadratic model. (a). Find matrix form of the least squares and the quadratic model at2 + bt + c. (b). Find and solve using Matlab the normal equations for a, b and c. (c). Use these to predict the price a time equal to 10. 3. As in lecture 6 on “Radioactive Parameter Identification” use the Matlab command fminsearch() to approximate the parameters u(0) and d so that the function for the amount at time t u(t) = u(0)e-dt is close to the following data, that is, the least squares function is a minimum. >> [time' amount'] 1 100 2 91 3 83 4 76 5 71
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved