Recent content by Brandt

  1. B

    MATLAB Solving Quadratic Equations in Matlab: How to Disregard Negative Solutions

    Oh ok, well thanks Tide. I did find a way to convert from into an actual number, that is with the double command. however, this proved inconsequential as Matlab refuses to use this programming block when I call it up as a function giving me an error message that I have used the variable t (in...
  2. B

    MATLAB Solving Quadratic Equations in Matlab: How to Disregard Negative Solutions

    Thanks Tide. I tried what you said, writing a little if else routine to give me only the positive answer, put that led to another problem. It wouldn't work because the answer of the quadratic is a sym object and the routine will only work for an array. Do you know how i can convert it or find a...
  3. B

    MATLAB Solving Quadratic Equations in Matlab: How to Disregard Negative Solutions

    Hi Guys, I just have a simple question about Matlab. When solving a quadratic equation two answers will be produced. If one is Negative what command can I use in Matlab to disregard it and continue further calculations with just the positive one? Thanks.
Back
Top