Execution of script rref as a function is not supported:

조회 수: 8 (최근 30일)
Chinmay Raval
Chinmay Raval 2021년 8월 12일
댓글: Chinmay Raval 2021년 8월 12일
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