Matlab’s symbolic math toolbox contains a function called double
.
This function converts the result of the solve
function – which is a sym
– to a double:
double(a)
ans =
5.98921078320145
0.834834535131742
More Related Contents:
- How to draw a Histogram in Matlab
- For loop to split matrix to equal sized sub-matrices
- How to normalize a histogram in MATLAB?
- Finding K-nearest neighbors and its implementation
- Difference between accessing cell elements using curly braces and parentheses
- Understanding Matlab FFT example
- Nearest-neighbor interpolation algorithm in MATLAB
- How to assign values to a MATLAB matrix on the diagonal?
- Find location of current m-file in MATLAB
- MATLAB – extracting rows of a matrix
- Is there a foreach in MATLAB? If so, how does it behave if the underlying data changes?
- MATLAB is running out of memory but it should not be
- Suppressing Output MATLAB
- Matrix “Zigzag” Reordering
- Absolute error of ODE45 and Runge-Kutta methods compared with analytical solution
- Fast Algorithms for Finding Pairwise Euclidean Distance (Distance Matrix)
- How do I get real integer overflows in MATLAB/Octave?
- How do you handle resources in MATLAB in an exception safe manner? (like “try … finally”)
- How can I close files that are left open after an error?
- quiver3 arrow color corresponding to magnitude
- MatLab accumarray unexpectedly changing ordering
- How can I plot a 3D-plane in Matlab?
- Plotting Implicit Algebraic equations in MATLAB
- imresize – trying to understand the bicubic interpolation
- How to control the margin size around subplots?
- What is the equivalent to += in Matlab?
- Indexing of unknown dimensional matrix
- Customize dbstop in MATLAB
- How to apply a low-pass or high-pass filter to an array in Matlab?
- Remove xticks but keep xticklabels in MATLAB