Plot v versus t. Use red (r) and plus sign (+).
Show older comments
Plot v versus t. Use red (r) and plus sign (+).
2 Comments
madhan ravi
on 30 Oct 2018
Don't close question which has answer
madhan ravi
on 30 Oct 2018
Edited: madhan ravi
on 30 Oct 2018
Try
plot(V,t(1:numel(V),'-+r')
It will work now
Answers (1)
madhan ravi
on 30 Oct 2018
plot(v,t,'-+r')
12 Comments
Hind Alblooshi
on 30 Oct 2018
madhan ravi
on 30 Oct 2018
can you upload your datas?
madhan ravi
on 30 Oct 2018
upload it as text
madhan ravi
on 30 Oct 2018
Hind Alblooshi
on 30 Oct 2018
madhan ravi
on 30 Oct 2018
if it was clear make sure to accept the answer
madhan ravi
on 30 Oct 2018
type size(v) and size(t) in command window and paste what shows here
Hind Alblooshi
on 30 Oct 2018
madhan ravi
on 30 Oct 2018
Edited: madhan ravi
on 30 Oct 2018
try:
V = linspace(V(1),V(end),numel(t))
plot(V,t,'-+r')
whats starting point of V and ending point of V?
Hind Alblooshi
on 30 Oct 2018
madhan ravi
on 30 Oct 2018
provide V datas here
Hind Alblooshi
on 30 Oct 2018
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!