a = [2 3 -1]; b = [2 4 9]; c = [3 -1 8]; d = [4 3 1];
Start by typing in this line in a MATLAB session.
To compute the volume of this simplex, we proceed as follows:
Answer:
m = [ b - a ; c - a ; d - a ]
abs(det(m))/6
ans = 16.000
Answer:
xr = -2:0.01:2;
yr = -2:0.01:2;
[x,y] = meshgrid(xr,yr);
z = x.^2 - y.^2;
mesh(x,y,z)
the surface is a saddle