How do I represent time domain plot as vector

2 views (last 30 days)
Osasu
Osasu on 31 Jul 2013
I have the following data and their values:
x contains
<1 x 40000>
y contains
<1 x 40000>
I did a plot as follows:
vsign = plot(x,y);
How do I represent vsign in vector form of
<1 x 40000>
instead of the scalar value of 174.0023 am getting?

Answers (1)

the cyclist
the cyclist on 31 Jul 2013
When you assign an output to the plot command, what you get is a "handle" to the plotted line, which you can use to edit some of its properties. This is described in
>> doc plot
That, as you see, is a scalar. You can use
>> get(vsign)
to see those properties and their values.
What is it that you want instead?

Community Treasure Hunt

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

Start Hunting!