Question: In Matlab, type rng ( 2 1 ) and length ( y ) , 1 . Repeat problems 2 and 3 when y is replaced

In Matlab, type rng(21) and length (y),1. Repeat problems 2 and 3
when y is replaced by y+v.
2. Let y(x)=sin(60x)-sin(120x). Let x=0:0.001:1 and let y be the column vector
of samples y(x). Interpolate the samples by a factor of four using myspline and
compute the relative interpolation error. Repeat using Matlab's interp.
3. Let y(x)=e-x+2e-2x. Let x=0:0.001:1 and let y be the column vector of samples
y(x). Interpolate the samples by a factor of four using myspline and compute the
relative interpolation error. Repeat using Matlab's interp.
 In Matlab, type rng(21) and length (y),1. Repeat problems 2 and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!