(adsbygoogle = window.adsbygoogle || []).push({}); Is it possible to extract the diagonal elements of a matrix into a vector??

Is it possible to extract the diagonal elements of a matrix into a vector USING ONLY MATRIX MULTIPLICATION? So no element by element multiplication, and no diag commands.

(This will eventually be implemented in MATLAB, but I am required to only use matrix multiplication, so no commands)

Is it even possible?

Thanks in advance.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Is it possible to extract the diagonal elements of a matrix into a vector?

Loading...

Similar Threads - possible extract diagonal | Date |
---|---|

A Getting as close as possible to a solution (system of equations)? | Jul 13, 2017 |

Is it possible to find this number without brute force? | Aug 21, 2015 |

Is it possible to determine a basis for non-subspace spaces? | Dec 9, 2014 |

Extracting a matrix from a curl operation | Jun 3, 2013 |

**Physics Forums - The Fusion of Science and Community**