Question: 2 . Consider the data generated by the le hw 2 Q 2 . m ( in Matlab ) , which is assembled into the

2. Consider the data generated by the le hw2Q2.m (in Matlab), which is assembled into the matrix X. Compute the SVD of X, and plot the first two left singular vectors against y (the spatial coordinate). Why are the first two singular values much larger than the rest (which are essentially
zero)?
3. Change the function that generates the data in question 2 so that the spatial peaks (i.e. the Gaussians) change their location with time. How you do this is up to you, so this question is a bit open ended. How does this change the
results of question 2? You may also change the amount of data in space and/or time if you wish to. clear all
close all
clc
dy =0.01;
dy:2)' ; %spatial coordinate
dt=0.2;
Nt=101;
tend =dt**(Nt-1);
t=0:dt: tend; %time
% define function
amp1=1;
ye1=0.5;
sigmay1=0.6;
amp2=1.2;
y2=-0.3;
sigmay2=0.3;
omega1=1.2;
omega2=5.3;
sigmay1^22
 2. Consider the data generated by the le hw2Q2.m (in Matlab),

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!