필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

find equation of data points and plot it

조회 수: 1 (최근 30일)
ali alkhudri
ali alkhudri 2015년 8월 1일
마감: John D'Errico 2015년 8월 1일
This task is just to get experience with simple data interpolation and extrapolation. In the table below you find two columns with energy data from a house in S¨odra Sandby. Construct the unique polynomial which interpolates the energy consumption. Plot the curves. Evaluate these polynomials to predict the energy consumption on Wednesday, April 15. Day Energy (kWh) 150407 27.93 150408 46.98 150409 31.95 150410 31.68 150411 21.00 Solve this task with three methods • by using Python or MATLAB’s commands polyfit and polyval, • by using Vandermonde’s approach • by using Lagrange polynomials.
how to plot the data points in x and y axis ? how to use polyfit and polyval in this case ?
  댓글 수: 1
John D'Errico
John D'Errico 2015년 8월 1일
편집: John D'Errico 2015년 8월 1일
What have you tried? You can make an effort. If not, then you will not learn. Merely being given the solution teaches you only to beg for more in the future, but you will learn nothing.
If you do try something and have a problem, then show what you tried and explain what went wrong. Then you are more likely to get help.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by