Assistance with simple error
Ältere Kommentare anzeigen
Hi,
I am copying the code below from this page, but it says error
"Undefined function 'a' for input arguments of type 'char'."
Could anybody tell me what is wrong?
Thanks
a := [6, 9, 17, 0, 13, 9, 9, 12, 12, 12]:
b := [7, 8, 20, 2, 11, 8, 9, 12, 13, 15, 2, 14]:
q := plot::QQplot(a, b):
plot(q)
Akzeptierte Antwort
Weitere Antworten (4)
Muruganandham Subramanian
am 10 Dez. 2012
Bearbeitet: Muruganandham Subramanian
am 10 Dez. 2012
Check this:
I don't have r2012b version
a = [6, 9, 17, 0, 13, 9, 9, 12, 12, 12];
b = [7, 8, 20, 2, 11, 8, 9, 12, 13, 15, 2, 14];
plot::QQplot([a, b]);
1 Kommentar
John
am 10 Dez. 2012
Wayne King
am 10 Dez. 2012
Are you trying to enter this directly at the MATLAB command prompt?
You have to first enter
>>mupad
Then copy and paste the code in the MuPAD notebook and hit enter
Wayne King
am 10 Dez. 2012
Do you have the Statistics Toolbox? If so you don't need to use MuPAD
a = [6, 9, 17, 0, 13, 9, 9, 12, 12, 12];
b = [7, 8, 20, 2, 11, 8, 9, 12, 13, 15, 2, 14];
qqplot(a,b)
1 Kommentar
John
am 10 Dez. 2012
Sean de Wolski
am 10 Dez. 2012
0 Stimmen
And in MuPAD, all you have to do is paste what you have above into a code line.
Kategorien
Mehr zu Functional Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!