home

Scientific Computing (Psychology 9040a)

Fall, 2021

Good luck


Define x, y1, and y2 as follows:

x = 1:20;
y1 = randn(1,20);
y2 = randn(1,20)*1.5 + 2;

Now try your best to generate the following Figure, as shown below:


sample solution