![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/187169/image.jpeg)
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Plotting sphere error using surf
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Error using surf (line 82) Z must be a matrix, not a scalar or vector.
[x z y] = sphere;
a=[ 0.2627 0.2677 0.0479 0.0723 ]
% a=[x position z position y position radius]
surf(x*a(1,4)+a(1,1),z*a(1,4)+a(1,2),y*a(1,4)+a(1,3));
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!