I am a beginner learning about MATLAB scientific computation, floating point numbers, and numerical error. When I am using a very small $x$ value for some equations, such as $y(x) = (\exp(x)-1-x)/x^2$, the relative error could get very large. To overcome this, I am told to use the built in vpa function for better precision. Are there any other ways to increase precision without vpa?
2026-02-23 09:29:20.1771838960
Are there any ways to increase the precision in MATLAB without built in functions?
556 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail AtRelated Questions in MATLAB
- Taking snapshots of an animation in PDE toolbox in Matlab
- Including a time delay term for a differential equation
- Dealing with a large Kronecker product in Matlab
- Apply affine heat equation on images
- How to construct a B-spline from nodal point in Matlab?
- How to solve an algebraic Riccati equation when the Hamiltonian spectrum is too close to the imaginary axis.
- Error calculating diffusion equation solution by fft
- How to simulate a random unitary matrix with the condition that each entry is a complex number with the absolute value 1 in matlab
- Implementation help for Extended Euclidean Algorithm
- Optimization problem in Matlab
Related Questions in FLOATING-POINT
- The upper and lower limits of IEEE-754 standard
- How to convert $\ln x - \ln y$ into a more accurate floating point representation?
- Writing A Number In Floating Point With $5$ Significant Digits
- Understanding the amount of FLOPS required to perform a single iteration in GCR
- Conditioning of the linear systems in the inverse or Rayleigh quotient iteration algorithms
- Distinguising two error terms in rounding error
- Understanding Floating point arithmetic
- Why floating point relative accuracy is needed?
- What is the correct way to round 331.449999 to 1 decimal place
- What does the floating point arithmetic contribute to the rounding error in Mathematica?
Related Questions in TRUNCATION-ERROR
- Value of $\log_e{1.2}$ correct to $7$ decimal places
- Prove that Runge Kutta Method (RK4) is of Order 4
- Local truncation error for trapezoidal rule
- Gaussian Quadrature and Error $O(h^4)$
- Prove that $r_{0,n}$ and $r_{1,n}$ are convex on $(-\infty,0)$.
- What are methods for correction of experimental measurements?
- Local Truncation Error of the Midpoint Method.
- Gaussian Quadrature Error Estimate
- Order of accuracy of least squares for computing gradients
- Local truncation error of Crank-Nicolson for PDE $u_t+au_x = 0$
Related Questions in MACHINE-PRECISION
- When will A+(B+C) != (A+B)+ C, in a finite precision system
- Numerically approximating limit with large numbers, bumping up against machine precision
- Machine Epsilon meaning
- Convergence of Newton method and machine precision
- Verification: Machine number immediately to right and left of $2^m$
- Numerically find cubic polynomial roots where coefficients widely vary in magnitude
- Intersection of three planes and precision of computing
- SVD - near-zero singular value
- Numerical Analysis- Finding two closest machine numbers in single precision.
- How to prove fl(x^k) definition
Related Questions in SCIENTIFIC-NOTATION
- $N × 10^a$ notation
- What is the Scientific Notation of Zero?
- What does 3.199E +01 mean?
- Is it possible to determine how many digits are required to represent an equation?
- Round the following number to $4$ significant figures: $794834.$
- Conventions on subscripts and superscripts: "Math mode" or "text mode" for (relatively long) words?
- Notation about the size of a subset
- notation for clusters of 2D data points
- $10^6 = 1000000$, which has $6$ zeros before decimal. Then why does $10^{-6} = 0.000001$, has only $5$ zeros after decimal?
- How to interpret scientific notation?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?