I want to do a least squares fit to the values around a matrix diagonal including the diagonal itself.
1 view (last 30 days)
Show older comments
Suggestions?
5 Comments
Stephen23
on 10 Oct 2018
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.
Walter Roberson
on 10 Oct 2018
? You are looking for a quarter-circle centered just outside the upper left corner, with radius n ?
Answers (1)
Stephen23
on 10 Oct 2018
"How do I query the values in a matrix surrounding the diagonal?"
2 Comments
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!