Any help with the syntax of this function, I keep getting errors?

3 views (last 30 days)
t = 20:20:100
N = 220 / (1 + 10 * (0.83 ^ (x)));
plot(t, N)

Answers (1)

Walter Roberson
Walter Roberson on 10 Aug 2021
t = linspace(20,100);
N = 220 ./ (1 + 10 * (0.83 .^ (t)));
plot(t, N)

Community Treasure Hunt

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

Start Hunting!