The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Warning: Matrix is singular to working precision.
Replies: 1   Last Post: Feb 6, 2013 2:35 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Bruno Luong

Posts: 9,822
Registered: 7/26/08
Re: Warning: Matrix is singular to working precision.
Posted: Feb 6, 2013 2:35 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"nelimw" wrote in message <kesddc$p0q$>...
> I am trying to write a code to create a 3-D plot of the absolute maximum non-dimensional shear tress. The code I have is provided below. However, each time I run this code I get this error: Warning: Matrix is singular to working precision. My questions are
> 1) What does that error mean
> 2) How can I fix it
> Thank you for your help in advance
> close all;
> clear all;
> [x,y] = meshgrid(-3:.1:3,-3:.1:3); %make a grid of points
> sigmaX = (-2/pi).*(x.^3/(x.^2+y.^2).^2);
> sigmaY = (-2/pi).*((x.*y.^2)/(x.^2+y.^2).^2);
> tauXY = (-2/pi).*((y.*x.^2)/(x.^2+y.^2).^2);

I bet you want "./" operator and not "/".


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.