Plot v versus t. Use red (r) and plus sign (+).

Plot v versus t. Use red (r) and plus sign (+).

2 Comments

Don't close question which has answer
madhan ravi
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

Sign in to comment.

Answers (1)

plot(v,t,'-+r')

12 Comments

it's show me "Error using plot Vectors must be the same length."
can you upload your datas?
upload it as text
did you understand your previous question?
if it was clear make sure to accept the answer
type size(v) and size(t) in command window and paste what shows here
>> size(V)
ans =
5 1
>> size(t)
ans =
1 10
try:
V = linspace(V(1),V(end),numel(t))
plot(V,t,'-+r')
whats starting point of V and ending point of V?
Error using plot Vectors must be the same length.
provide V datas here
>> V= z(:,1)
V =
0.8147
0.9058
0.1270
0.9134
0.6324

Sign in to comment.

Tags

Asked:

on 30 Oct 2018

Reopened:

on 20 Dec 2018

Community Treasure Hunt

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

Start Hunting!