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!