Cara Plot Gambar 3D Fungsi Lyapunov pada Matlab

Untuk fungsi Lyapunov : V\left({x}_{1},{x}_{2} \right)=\left({x}^{2}_{1}+{x}^{2}_{2} \right) adalah sebagai berikut:

x=[-4:.04:4];
y=x;
[X,Y]=meshgrid(x,y);
z=Y.^2 + X.^2;
mesh(X,Y,z);


Gambar yang dihasilkan:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: