gistlib
other matlab categories
triangle code snippets in matlab
calculate the area of a triangle in matlab
create a plot with the shape of a triangle in matlab
draw a triangle in matlab
how to calculate the area of a triangle in matlab
plot the triangle using a dashed red line that is 2 points wide. for each vertex point, add the corresponding label (a, b, or c) on the graph. also, label the two axes as x and y in matlab
write a function and then call it with the variables a, b, and c to check if these points correspond to the vertices of an orthogonal triangle. the function should return the result of the test. in matlab
write a function called tri_area that returns the area of a triangle with base b and height h, where b and h are input arguments of the function in that order. in matlab
gistlib
by LogSnag