Sphere function does not work
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Joao
am 18 Nov. 2014
Beantwortet: Star Strider
am 18 Nov. 2014
Hello,
I am trying to run function sphere in matlab like this:
sphere(30);
I get an error every time - Error in ==> sph at 1
What am I doing wrong?
Thanks
2 Kommentare
Adam
am 18 Nov. 2014
Is sph a function or script of yours?
And does it not give any more information as to what the error is?
Akzeptierte Antwort
Star Strider
am 18 Nov. 2014
When I run that same ine, I get no errors.
What does:
which sphere -all
return when you run it?
If it returns something other than:
C:\Program Files\MATLAB\R2014b\toolbox\matlab\specgraph\sphere.m
you may have a function that overshadows the built-in sphere function.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Industrial Statistics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!