Info

This question is closed. Reopen it to edit or answer.

Why is my plot plotting blank?

2 views (last 30 days)
Xingkai Yang
Xingkai Yang on 2 Nov 2015
Closed: Walter Roberson on 2 Nov 2015
>> t = 0:20; >> Vx = 1000; >> for ii = 1:2:length(t) Vx = Vx - (0.0004*Vx^2)*t(ii) end
Vx =
1000
Vx =
200
Vx =
136
Vx =
91.6096
Vx =
64.7542
Vx =
47.9818
Vx =
36.9310
Vx =
29.2931
Vx =
23.8014
Vx =
19.7225
Vx =
16.6107
>> plot (t,Vx)

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!