- #1
BubblesAreUs
- 43
- 1
Homework Statement
Plotting the exponential exp(-cx), 0 ≤ x ≤ 1 with c = 1, 2, 3, 4. Use a for loop.
Homework Equations
The Attempt at a Solution
for c = 1:1:4;
for x = 0:1;
F = exp(-cx);
end
end
plot(x,F)
I'm not really sure where to start..
Help is appreciated.