Execution of script rref as a function is not supported:

8 visualizzazioni (ultimi 30 giorni)
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 Commenti
Rik
Rik il 12 Ago 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 il 12 Ago 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 ?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by