How to plot a trianlge if its coordinates are not given?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
How do I plot a triangle, as shown in the attached image, with the help of data in attached m file.

8 Comments
Rik
on 31 Aug 2017
If you have the 3D coordinates, you can simply use plot3
Explorer
on 1 Sep 2017
Rik
on 1 Sep 2017
What I meant is that from these parameters (all those angles and heights) you should be able to mathematically figure out the coordinates, and once you have those, plotting is trivial. I think it is easier to do this algebra with pen and paper instead of Matlab.
Explorer
on 1 Sep 2017
Explorer
on 1 Sep 2017
Rik
on 1 Sep 2017
Again, although you might be able to solve this in Matlab, I think it is easier to find out the coordinates you want to plot and then let Matlab do the plotting. I don't really see how this is a Matlab question, unless you insist on determining the coordinates in Matlab, for which I have seen no indication.
You need to answer a very important question: what is it exactly you want to do? Plot a triangle? Algebraically determine corner coordinates? Something entirely different?
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!