PWSZ Głogów Wprowadzenie do użytkowania pakietu Matlab
Zadanie. Narysować powierzchnię
2 2 z — —x —y
dla — |
1 ; |
535 VI |
< |
1. | ||||||
»x |
= |
linspace (- |
1, |
1, |
5) | |||||
X = | ||||||||||
■1 |
. 00 |
O LO O 1 |
0 |
0. |
50 |
1 | ||||
»y |
= |
x; | ||||||||
> [X |
Y] = |
meshgrid(x |
' y) | |||||||
X = | ||||||||||
-i |
.00 - |
0 |
.50 |
0 |
0 . |
50 |
1 |
.00 | ||
■i |
.00 - |
■0 |
.50 |
0 |
0 . |
50 |
1 |
.00 | ||
■i |
.00 - |
■0 |
.50 |
0 |
0 . |
50 |
1 |
.00 | ||
-i |
.00 - |
■0 |
.50 |
0 |
0 . |
50 |
1 |
.00 | ||
■i |
.00 - |
0 |
.50 |
0 |
0 . |
50 |
1 |
.00 | ||
Y = | ||||||||||
-i |
.00 - |
•1 |
.00 - |
1. |
00 |
-1. |
00 |
-1. |
.00 | |
■0 |
.50 - |
0 |
.50 - |
■0 . |
50 |
-0 . |
50 |
-0. |
, 50 | |
0 |
0 |
0 |
0 |
0 | ||||||
0 |
.50 |
0 |
.50 |
0 . |
50 |
0 . |
50 |
0 . |
.50 | |
i |
.00 |
1 |
. 00 |
1. |
00 |
1. |
00 |
1. |
.00 |
.Strona 14