Execution of script rref as a function is not supported:

8 次查看(过去 30 天)
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 个评论
Rik
Rik 2021-8-12
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 2021-8-12
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 ?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by