I want to do a least squares fit to the values around a matrix diagonal including the diagonal itself.
1 次查看(过去 30 天)
显示 更早的评论
Suggestions?
5 个评论
Stephen23
2018-10-10
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
2018-10-10
? You are looking for a quarter-circle centered just outside the upper left corner, with radius n ?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!