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

조회 수: 1 (최근 30일)
Suggestions?
  댓글 수: 5
Stephen23
Stephen23 2018년 10월 10일
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.
Walter Roberson
Walter Roberson 2018년 10월 10일
? You are looking for a quarter-circle centered just outside the upper left corner, with radius n ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Stephen23
Stephen23 2018년 10월 10일
"How do I query the values in a matrix surrounding the diagonal?"

카테고리

Help CenterFile Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by