DGESDD Example

To find the singular values and left and right singular vectors of the 4 by 6 matrix

A = $\displaystyle \left(\vphantom{
\begin{array}{rrrrrr}
2.27 & 0.28 & -0.48 & 1....
... & 1.03 \\
-1.94 & -0.78 & -0.21 & 0.63 & 2.30 & -2.57
\end{array} }\right.$$\displaystyle \begin{array}{rrrrrr}
2.27 & 0.28 & -0.48 & 1.07 & -2.35 & 0.62 ...
...9 & -1.45 & 1.03 \\
-1.94 & -0.78 & -0.21 & 0.63 & 2.30 & -2.57
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{rrrrrr}
2.27 & 0.28 & -0.48 & 1....
... & 1.03 \\
-1.94 & -0.78 & -0.21 & 0.63 & 2.30 & -2.57
\end{array} }\right)$,

together with approximate error bounds for the computed singular values and vectors.

The example program for DGESVD illustrates finding a singular value decomposition for the case m$ \ge$n.

Example program
Example data
Example results