Solving numerically a parametric function, for all possible combinations of parameters
Show older comments
Hello, I am not very proficient writing Matlab code and I need to solve this equation for all possible combinations of the parameters. I tried using Stata, which I am more familiar with, but something tells me Matlab is more appropiate. The equation is
α_1 s^2 -[1+α_0+(β_1-α_1 ) d_(t-1) ]+(β_0 - α_0 ) d_(t-1)=0
I want to solve for s for all possible combinations of α_0, α_1, β_0, β_1 and d_t-1. For the sake of simplicity let's say all parameters range from 0.4 to 2, allowing discrete increases of 0.1. So the parameters would take values such as 0.4, 0.5, 0.6, ... , 2. Thank you a lot
Answers (1)
John D'Errico
on 26 Jul 2016
0 votes
What does your question have to do with numerical integration? Need I quote you?
"Numerical integration of a parametric function, for all possible combinations of parameters"
If all you want to do is solve for s, it would appear nothing more than a square root is necessary, and pencil and paper.
Categories
Find more on MATLAB 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!