Execution of script rref as a function is not supported:

8 views (last 30 days)
Hi,
I am running the script as per below:
a = [1,1,5;4,2,8;3,2,9];
b = [12;28;26];
rank(a);
rank([a,b]);
%%pinv(a)*b
rref([a,b])
But it's getting the error as Execution of script rref as a function is not supported:
I have checked the following thing.
-> Checked for the file with the same name.
-> Checked for file with rref using which<rref> - all and also checked for which<example_3> -all as well
  5 Comments
Rik
Rik on 12 Aug 2021
a = [1,1,5;4,2,8;3,2,9];
b = [12;28;26];
rank(a);
rank([a,b]);
%%pinv(a)*b
rref([a,b])
ans = 3×4
1 0 -1 2 0 1 6 10 0 0 0 0
As you can see, with a clean install there doesn't seem to be an issue.
Chinmay Raval
Chinmay Raval on 12 Aug 2021
When i use the a\b it is not giving me any error
How do i come to know if it's an installation issue ?

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!