Warning: Matrix is singular to working precision.
Mostrar comentarios más antiguos
This is my code and I keep getting the error "Warning: Matrix is singular to working precision." I am getting extremely frustrated because i looked up the problem and my code seems to be correct but i am new to this so i could be missing something. Any help would be appreciated! Thank you! :)
x=(-pi:pi/10:pi);
y=(-pi:pi/10:pi);
[X,Y]=meshgrid(x,y)
Z=(sin(sqrt(X.^2+Y.^2)))/(sqrt(X.^2+Y.^2));
mesh(X,Y,Z)
xlabel('x-axis')
ylabel('y-axis')
zlabel('z-axis')
Respuesta aceptada
Más respuestas (1)
Ed Herrera
el 21 de Abr. de 2017
0 votos
Many Thanks It was really useful.
1 comentario
Redouane Boudjemaa
el 27 de Oct. de 2019
Thak you, it did the trick
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!