MATLAB Answers

Function generation from x and y data

3 ビュー (過去 30 日間)
Manish Kumar
Manish Kumar 2019 年 4 月 9 日
コメント済み: Rik 2019 年 4 月 9 日
Dear All,
I want to generate a function which can fit the curve. 1st column of excel sheet is x data and the 2nd column of excel sheet is y data. Now I have to generate a function which will fit my curve, and I can write something like y= x^2.

  1 件のコメント

Rik
Rik 2019 年 4 月 9 日
If you have the curve fitting toolbox you could use cftool to explore your options. Otherwise polyfit will allow you to fit a polynomial, and many other tools are available for other functions.
What is your actual question? What have you tried? Where did you get stuck? What errors have you been getting?

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by