Execution of script rref as a function is not supported:

8 vues (au cours des 30 derniers jours)
Chinmay Raval
Chinmay Raval le 12 Août 2021
Commenté : Chinmay Raval le 12 Août 2021
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 commentaires
Rik
Rik le 12 Août 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 le 12 Août 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 ?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by