I want to do a least squares fit to the values around a matrix diagonal including the diagonal itself.

1 visualizzazione (ultimi 30 giorni)
Suggestions?
  5 Commenti
Stephen23
Stephen23 il 10 Ott 2018
Douglas Brenner's "Answer" moved here:
Actually the post went out prematurely. But it help me get a clearer picture of what I want to do. So let me ask another question. How do I query the values in a matrix surrounding the diagonal? That is for each row and column such that sqrt(p^2 + q^2) < n^2 elements from the diagonal besides a loop.

Accedi per commentare.

Risposte (1)

Stephen23
Stephen23 il 10 Ott 2018
"How do I query the values in a matrix surrounding the diagonal?"

Categorie

Scopri di più su Operating on Diagonal Matrices in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by