How can I extend the data in the x direction.
    조회 수: 2 (최근 30일)
  
       이전 댓글 표시
    
I used the curve fitting tool box to generate to fit the following data. But currently I am struggling to extend it in X direction where the x is 5000 instead of 350. How can I do it?
x = (length_wg*10*10*10*10*10*10)';
y = T_downward_80nm*-1;
f = fit (x, y, 'exp2' )
plot (f, x, y)
xlabel('Length [um]');
ylabel('Tranmission %');

댓글 수: 0
채택된 답변
  Star Strider
      
      
 2021년 9월 11일
        Try this — 
y5000 = feval(f, 5000)
I cannot run the posted code (no data) so I am posting this as UNTESTED CODE.  It should work, if I understand the posted code correctly.  
.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
