Sphere function does not work
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Adam
2014-11-18
Is sph a function or script of yours?
And does it not give any more information as to what the error is?
采纳的回答
Star Strider
2014-11-18
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Industrial Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!