I have data as a 2D array how can I get the best equation fitting the array data

Answers (1)

Read about polyfit, cftool.

3 Comments

There already are examples in the help. You would find them if you do as suggested, and read the help. Otherwise, KSSV would need to spend a fair amount of time to rewrite an example that already has been written up.
would you please i need more explaination. the data is a metrix , i need draw the matrix in 3D and get the fiting equation. the x axis is the number of rows, the y axis is the number of colums, the z axis is the value of the mtrix elemnets.

Sign in to comment.

Categories

Asked:

on 2 May 2020

Edited:

on 4 May 2020

Community Treasure Hunt

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

Start Hunting!