Create a vector representing x coordinates of a measurement, MATLAB Programming

Problem 1. Create a vector representing x coordinates of a measurement with 20 points between 0 and 10. Create another vector y representing fake measurements which are related to the above x values as y = 2.3 x - 1.2. Next add random (normal, Gaussian) noise to the vector y. Plot on the same graph both versions of vector y in different colors. Next use attached linregr.m function to find a least square fit (linear regression) for your fake experimental data.

Problem 2. Create a three dimensional diagram of function z = (x-2)2 + (y-3)3.

Capture the matlab code in a text file.

Posted Date: 3/28/2013 2:29:08 AM | Location : United States







Related Discussions:- Create a vector representing x coordinates of a measurement, Assignment Help, Ask Question on Create a vector representing x coordinates of a measurement, Get Answer, Expert's Help, Create a vector representing x coordinates of a measurement Discussions

Write discussion on Create a vector representing x coordinates of a measurement
Your posts are moderated
Related Questions
Write a MATLAB function called pgm which calculates the periodogram. The function inputs should be the length input vector x and its output should be the length N periodogram estim

how to wrote the mat lab programme and analysized for different refrigerant using in cascade refrigeration system

Script - MATLAB: The script is a series of MATLAB instructions which is stored in a file and saved. The contents of a script can be showed in the Command Window by using the t

A filter described by the equation:    y(n) = x(n) + x(n-1) + 0.9 y(n-1) - 0.81 y(n-2) (a) Find the transfer function H(z) for the filter and find the poles and zeros of the fil

how to convert char array to a string cell

In many applications, including ?nancial mathematics, ?nding zeros of a function f(x) = 0 (4) is paramount. One of the simplest method is the Bisection Method. The bisection

how to reverse the digits of positive number by using mod function?


i need someone to write a matlab code to solve a model.