Plot an equation with a range

I am a beginner in Matlab and would really appreciate an explanation on how to do this in laymans terms.
Thank you!

Réponses (1)

Image Analyst
Image Analyst le 13 Oct 2021

0 votes

Try this
v = linspace(-100, 50, 1000);
Then plug that v into the formulas that need it. Like
alpham = (0.1 * (v + 40)) ./ (1 - exp(-0.1 * (v + 40)));
betam = 4 * exp(-0.0556 *.............)
m = alpham / (alpham + betam)
and so on.

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Centre d'aide et File Exchange

Produits

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by