Solving numerically a parametric function, for all possible combinations of parameters

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

回答(1 个)

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.

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by