how to create a triangular geometry in matlab using loop?
Mostrar comentarios más antiguos
How can I create a triangular shape geometry in matlab using 'for loop'? Can I create grid point in this?
1 comentario
Sabyasachi Sahu
el 28 de Abr. de 2016
Respuesta aceptada
Más respuestas (1)
Azzi Abdelmalek
el 28 de Abr. de 2016
Editada: Azzi Abdelmalek
el 28 de Abr. de 2016
You don't need a loop to create a triangle, just set the coordinate of your triangle. For example
t=[0 10 5 0]
y=[0 0 5 0]
plot(t,y)
or
fill(t,y,'g')
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
