About 160,000 results
Open links in new tab
  1. triplot - 2-D triangular plot - MATLAB - MathWorks

    This MATLAB function plots the 2-D triangulation defined by the points in vectors x and y and a triangle connectivity matrix T.

  2. Find vertices and plot triangle in Matlab - Stack Overflow

    Oct 1, 2015 · You can plot your triangular shape using this command: triplot(delaunay(tri(1,1:3),tri(2,1:3)),tri(1,1:3),tri(2,1:3))

  3. gistlib - create a plot with the shape of a triangle in matlab

    To create a plot with the shape of a triangle in MATLAB, you can define the vertices of the triangle and then plot them using the plot() function. Here's an example: y = [0 1 0]; % Plot the triangle …

  4. plot - 2-D line plot - MATLAB - MathWorks

    plot(X,Y) creates a 2-D line plot of the data in Y versus the corresponding values in X. To plot a set of coordinates connected by line segments, specify X and Y as vectors of the same length.

  5. Triangular Plot - File Exchange - MATLAB Central - MathWorks

    Dec 19, 2018 · This is an example of how to create a triangular plot in MATLAB®. Read about the "triplot" function in the MATLAB documentation. For more examples, go to MATLAB Plot …

  6. How can I compute the plotting of a triangle given it's vertices on matlab?

    Sep 29, 2022 · As suggested by @BillBokeey, plotting a triangle is indeed a matter of understanding the plot function. In essence, plot(x, y) connect the subsequent points specified …

  7. triplot (MATLAB Functions) - Northwestern University

    triplot(TRI,x,y) displays the triangles defined in the m-by-3 matrix TRI. A row of TRI contains indices into the vectors x and y that define a single triangle. The default line color is blue.

  8. Triangular and other step functions in matlab

    Generally, to plot a function you 1) sample the domain, defining a vector x; 2) compute the images of those samples, obtaining a vector y; and 3) use plot(x,y) or similar. When your desired …

  9. how to add a STAR or Triangle shape to plot simply without …

    Jul 15, 2021 · I'd like to just add a simple Star or Triangular shape to certian location within the plot. I am thinking to use Patch () but patch still requires to provide the vertext of this Star or …

  10. How to plot a triangular function and other step functions in Matlab

    Write a matlab-function which implements 'f (x)=1-|x| for |x|<1 and f (x)=0', test it and then try to plot it. If you don't know how to write such a simple function, you should start reading the …

  11. Some results have been removed
Refresh