Plot an equation with a range

1 次查看(过去 30 天)
Bianca Castello
Bianca Castello 2021-10-13
I am a beginner in Matlab and would really appreciate an explanation on how to do this in laymans terms.
Thank you!

回答(1 个)

Image Analyst
Image Analyst 2021-10-13
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.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by