-
July 26th, 2017, 03:55 PM
#1
curve fitting in matlab
Hello, I have a set of data points that I would like to match with the following model: y = A +B/x^2 + C/x^4, where A, B, and C are the constants I want Matlab to figure out. Can I do this?
-
February 1st, 2018, 04:35 PM
#2
Re: curve fitting in matlab
Originally Posted by lryan2139
Hello, I have a set of data points that I would like to match with the following model: y = A +B/x^2 + C/x^4, where A, B, and C are the constants I want Matlab to figure out. Can I do this?
This resembles a linear regression problem (statistics), so yes. However, depending on your dataset, running a regression on 1/x^n might give a very poor fit.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|