how to generate function?
Show older comments
I want to generate function to define relationship between reaction rate and mole fraction of species. I've four species. CO,CO2,H2,H2O. So how can i do that by using matlab. If I change value of H2O molefraction with other values as constant it shows that reaction rate increases with increase in h2o mole fraction lke straight line. With co, first it increase and than it decreases with co mole fraction like parabola. Here i'm sharing you some of my results as attachment. Can you guide me how CAN I generate function by using matlab? Can regression method be used? Which linear or non linear? Kindly guide me to solve my query. I would be grateful.
Thank you Shashank Thakker
1 Comment
dpb
on 8 Aug 2014
...If I change value of H2O molefraction with other values as constant it shows that reaction rate increases with increase in h2o mole fraction lke straight line. With co, first it increase and than it decreases with co mole fraction like parabola...
If you don't have a functional relationship, how did you do the above variations?
Not totally clear on what it is you're after; if the idea is to have a multivariate model that predicts some response to the various input levels possibly a response surface model could be generated.
Regression can fit a particular model to a "one-at-a-time" set of data, yes, but it'll take some other tests/logic to decide what order might be appropriate (or whether some other functional form entirely, perhaps, is called for).
The Statistics Toolbox includes the functions stepwisefit and the interactive tool stepwise that help with such a process with care...
Accepted Answer
More Answers (0)
Categories
Find more on Support Vector Machine Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!