Discussion Overview
The discussion revolves around an error encountered in MATLAB related to the QR factorization of a matrix, specifically an "Undefined function or method" error when using the 'double' data type. Participants are seeking clarification and solutions regarding function calls and argument types in MATLAB.
Discussion Character
- Technical explanation, Debate/contested, Homework-related
Main Points Raised
- One participant describes receiving an error message when attempting to use a function 'qrfac' with a matrix input, indicating a potential issue with argument types.
- Another participant suggests checking the documentation for 'qrfac' to ensure the correct argument types are being used, questioning whether the code is written in Fortran.
- A third participant shares a similar error when using the function 'QR' with a matrix, indicating confusion over the function's case sensitivity.
- A later reply advises using 'qr(Q)' instead of 'QR(Q)', emphasizing that MATLAB's built-in function names are case sensitive.
Areas of Agreement / Disagreement
Participants express differing views on the source of the error, with some focusing on argument types and others on function naming conventions. The discussion does not reach a consensus on the best approach to resolve the issue.
Contextual Notes
Participants have not provided detailed information about the specific implementations or definitions of the functions being used, which may affect the understanding of the errors encountered.
Who May Find This Useful
Individuals working with MATLAB, particularly those dealing with matrix factorization and function errors, may find this discussion relevant.