Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
equation fitting and plotting
조회 수: 1 (최근 30일)
이전 댓글 표시
I have 5 x axis values and 5 y axis values..
now i want to fit the equation
f(x)=a*(x^b - 2^b)
after that i have to plot the 5 data points which i did like plot(x,y)
now i have to plot my fitted function also on the same plot and it should be a smooth curve.
please help me..
댓글 수: 0
답변 (1개)
David Sanchez
2014년 1월 23일
Did you consider the use of curve fitting tool?
cftool
On the command window, type:
doc cftool
You'll be given some examples similar to your problem.
댓글 수: 3
David Sanchez
2014년 1월 23일
the fitting function are part of the curve fitting tool. If you don't have it, you have to code the fitting algorithm yourself.
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!