Recent content by shalehound117
-
S
MATLAB Matlab, logarithms and rounding small numbers to zero
X, Y and Z are not scalors, they are vectors of length N. The elements in each of these vectors are logs. V=X-(Y+Z) . I'm using logs because the numbers I am dealing with are sizes that would otherwise get rounded and eventually cause my code to produce NaN's. So, I am left with a vector V whose...- shalehound117
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
MATLAB Matlab, logarithms and rounding small numbers to zero
I'm a novice at MATLAB so I apologize if this is a dumb question: I need to find the sum of A, B and C given X, Y and Z, where ln(A)=X, ln(B)=Y etc. However, the values A, B and C are so small that when I try to use 'exp' the result is rounded to zero. This is a problem because later in my code...- shalehound117
- Thread
- Logarithms Matlab Numbers Zero
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX