problem with rref function please help

8 views (last 30 days)
Maya Jenkins
Maya Jenkins on 17 May 2020
Answered: madhan ravi on 17 May 2020
Hi,
So I have been trying to using the following matracie A=[6,1,0,4,-3;-9,2,3,8,1;7,0,-4,5,2] rref (A) A = 6 1 0 4 -3-9 2 3 8 1 7 0 -4 5 2 in mattlab but for some reason it keeps coming up with the following error "Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses."
I am very inexperienced with MATLAB and was wondering if someone could tell me why it is not working and how to fix it so it works.
Thanks :)

Answers (1)

madhan ravi
madhan ravi on 17 May 2020
Use a semicolon or a comma before rref(...)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!