How do I represent time domain plot as vector

2 次查看(过去 30 天)
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?

回答(1 个)

the cyclist
the cyclist 2013-7-31
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?

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by