Discussion Overview
The discussion revolves around the process of extruding a 2D curve in MATLAB along the Z direction to create a surface. Participants explore methods for achieving this extrusion and address issues related to plotting and surface creation in a 3D space.
Discussion Character
- Technical explanation
- Homework-related
- Debate/contested
Main Points Raised
- One participant seeks guidance on how to extrude a 2D curve in MATLAB and whether there is a specific tool for this purpose.
- Another participant suggests a straightforward method of adding a third dimension by creating a series of Z values and broadcasting the X and Y values accordingly.
- A participant shares MATLAB code for creating a polynomial function and asks how to fit a surface through the generated curves, expressing confusion over an error encountered when using the surf command.
- One participant critiques the approach of using a one-dimensional vector for Z values, suggesting that the user needs to understand the requirements for plotting in 3D.
- The original poster clarifies that they are using a different variable for Z coordinates and requests further assistance with their queries.
Areas of Agreement / Disagreement
Participants express differing levels of familiarity with MATLAB, and there is no consensus on the best approach to extrude the curve or resolve the plotting issues. The discussion remains unresolved regarding the specific method to fit a surface through the curves.
Contextual Notes
There are limitations in the understanding of how to properly structure the Z data for surface plotting, and the discussion highlights the need for clarity on the dimensional requirements for 3D plotting in MATLAB.