Discussion Overview
The discussion revolves around connecting points represented in a matrix using MATLAB, specifically focusing on both 2D and 3D plotting techniques. Participants explore methods to create closed graphs and connect adjacent points in a polytope.
Discussion Character
- Technical explanation
- Exploratory
- Debate/contested
Main Points Raised
- One participant inquires about connecting points in a 5-by-2 matrix in MATLAB.
- Another suggests using the command plot(V(:,1),V(:,2)) to connect the points.
- A participant reports that the initial suggestion only connects three points and seeks a method to form a closed graph.
- It is proposed that appending the starting point to the matrix could create a closed graph.
- One participant confirms that appending the start point resolves their issue.
- A later post raises the question of extending the solution to 3D plotting.
- Another participant suggests using plot3() for 3D connections, but notes that it connects all points rather than just adjacent ones.
- One participant expresses uncertainty about connecting only adjacent vertices in 3D.
- Another participant suggests breaking the matrix into smaller matrices for plot3() to achieve the desired connections.
- There is a mention of looking for additional resources on MATLAB's file exchange for potential solutions.
Areas of Agreement / Disagreement
Participants generally agree on the methods for connecting points in 2D, but there is disagreement and uncertainty regarding the approach to connecting only adjacent points in 3D.
Contextual Notes
The discussion includes assumptions about the structure of the matrix and the nature of the polytope, which may affect the proposed solutions. There are also references to external resources that may not be universally applicable.