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
i made graph using adjacent matrix i have to find the critical path on that graph in matlab work can you please give me that code.

http://messenger.providesupport.com/messenger/ae.html?ps_s=U4nFMQo4BP04

i need matlab code on 2 dimensional analysis of temperature distribution in steel using finite element method

ACTIVITIES OF A PROJECT 1-2 1-3 1-4 1-5 2-6 3-6 3-7 4-7 5-7 7-6 6-8 7-8 THE COMMPANY LOSES 2,000 FOR EVERY WEEK THE PROJECT LASTS BEYOND 30 WEEKS. fOR EACH OF THE PROPOSALS; ACTIVI

As shown in Figure 1, Ecosystem carbon (C) cycles in a tropical forest can be modeled using three "compartments":  aboveground (AG), belowground (BG), and soil organic matters (SOM

A three degree of freedom system is shown in Figure.  The three masses are each 1 kg and are constrained to move in the directions shown.   The three stiffnesses are   5 kN/m, 50 k

I am doing project "Recognizing people in video based on their body" the system will use MATLAB to detect people based on thier body and then recognize them from their clothes "us

Obtaining the Partial Fraction Expansion of the Z-Transform expression and to find its Inverse Z-Transforms using MATLAB

Savannah says that the least common multiple of 4 and 6 is 24. Is she right or what is her mistake?

Compare results/performance with tridiagonal Gaussian elimination solver for the problem arising from -y''=f   on (0,1) with y(0)=0=y(1). You may also need to use sparse storage an