how to create a triangular geometry in matlab using loop?
Mostra commenti meno recenti
How can I create a triangular shape geometry in matlab using 'for loop'? Can I create grid point in this?
1 Commento
Sabyasachi Sahu
il 28 Apr 2016
Risposta accettata
Più risposte (1)
Azzi Abdelmalek
il 28 Apr 2016
Modificato: Azzi Abdelmalek
il 28 Apr 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')
Categorie
Scopri di più su Interpolation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
