Doing Attached Calculation in Matlab
- Context: MATLAB
- Thread starter intel2
- Start date
-
- Tags
- Calculation Mathcad Matlab
Click For Summary
Discussion Overview
The discussion revolves around performing a specific calculation in Matlab, with participants sharing their code snippets, experiences, and results. The conversation includes aspects of programming, debugging, and comparing results with another software, Mathcad.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
- Homework-related
Main Points Raised
- One participant inquires about how to perform a calculation in Matlab.
- Another suggests reading the documentation, specifically the getting started guide, for guidance on performing calculations.
- A participant shares their code but expresses difficulty in achieving the desired results.
- Another participant proposes an alternative code snippet and notes inconsistency with results obtained from Mathcad.
- One participant critiques Mathcad, stating it is unreliable and claims the result from Mathcad is incorrect, providing their own calculation result using a summation formula.
- A later reply argues that the Mathcad result is correct and clarifies the use of logarithmic functions in Matlab, suggesting a modification to the code to use log10 instead of log.
- Another participant thanks those who contributed to the discussion.
- A new question is raised about plotting a specific equation in Matlab with defined intervals.
- A participant provides a code snippet for plotting and comments on the cleverness of another participant's coding approach.
Areas of Agreement / Disagreement
There is disagreement regarding the correctness of the Mathcad results, with some participants asserting it is incorrect while others defend its accuracy. The discussion remains unresolved regarding the best approach to achieve the desired calculation in Matlab.
Contextual Notes
Participants express varying levels of familiarity with Matlab and Mathcad, leading to different interpretations of the results and coding practices. There are also unresolved issues regarding the efficiency and elegance of the proposed code snippets.
Who May Find This Useful
This discussion may be useful for individuals learning Matlab programming, particularly those interested in mathematical calculations and comparisons with other software tools like Mathcad.
Similar threads
- · Replies 1 ·
- · Replies 4 ·
- · Replies 2 ·
- · Replies 1 ·
- · Replies 32 ·
- · Replies 5 ·
- · Replies 4 ·
- · Replies 5 ·
- · Replies 5 ·
- · Replies 5 ·