Current location - Training Enrollment Network - Mathematics courses - The topic of mathematical experiment is completed by MATLAB software.
The topic of mathematical experiment is completed by MATLAB software.
x = 0:2 * pi/ 100:2 * pi;

y 1=x.^2;

y2 = cos(2 * x);

y3=y 1。 * y2

plot(x,y 1,'-r ');

continue

plot(x,y2,' * b ');

continue

plot(x,y3,'-y ');

I guessed.

Subplots (3, 1,1);

plot(x,y 1,'-r ');

Subplots (3, 1, 2);

plot(x,y2,' * b ');

Subplots (3, 1, 3);

plot(x,y3,'-y ');

8.a=input ('Please enter a kernel between 100 and 0:');

B = floor (a/10);

Switch b

Case {9, 10}

disp(' A ');

Case 8

disp(' B ');

Case 7

disp(' C ');

Case 6

disp(' D ');

otherwise

disp(' E ');

end