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
Illustration to logical function: In addition to such logical operators, the MATLAB also has a function xor, that is the exclusive or function. It returns the logical true if

Q. An expression for a sawtooth wave over the internal 0 ≤ t ≤ T0 is given by f(t) = At/T0. The student is encouraged to check the Fourier coefficients to be a 0 = A/2, an = 0 for

Compute the result: To compute the area, the formula is required. In this situation, the area of the circle is π multiplied by the radius squared. Therefore, that means the va

design a rc phase shift oscillator for a particular frequency of oscillation and generate a sinusoidal signal

Generate a script: To generate a script, click File, then New, and then M-file. The new window will appear known as the Editor. To generate a new script, simply type the serie

Grid function: grid shows grid lines on the graph. Called by itself, it is a toggle which turns the grid lines on & off. Alternatively, the commands grid on & grid off can

Operator Precedence Rules: A few operators have precedence over the others. For illustration, in the expression 4 + 5 * 3, the multiplication takes the precedence over additio

using newton divided diference formula find f(15) and f (8)

write a function program to compute a standard deviation of a number

The Format Function and ellipsis: The default in MATLAB is to show numbers which have decimal places with four decimal places. The format command can be used to identify the o