Having trouble making a for loop equation
    조회 수: 8 (최근 30일)
  
       이전 댓글 표시
    
답변 (1개)
  David H
      
 2020년 6월 9일
        It isn't obvious what you are trying to do, you have a 3D function and want to fit an order 8 polynomial to it in z only?  
- In case you want to fit a 240 by 320 array of polynomials for every single slice through that array, loop over the x and y positions
- In case you want to fit a 3 D polynomial you might want to look at https://www.mathworks.com/matlabcentral/fileexchange/34765-polyfitn
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


