Re: y for any given x



Siddesh N wrote:
Hello,
I have plotted a time signal which is a array of size (1X1000) in 2D , where y-axis represents the voltage(amplitude) and x-axis the time value.
The thing is that I want the value of Y(voltage) for the any given time instant in the program itself without referring the plot, can it be done? How?

I guess you would like to linearly interpolate between values.
doc interp1

Alan Weiss
MATLAB mathematical toolbox documentation
.



Relevant Pages

  • y for any given x
    ... I have plotted a time signal which is a array of size in 2D, where y-axis represents the voltageand x-axis the time value. ... The thing is that I want the value of Yfor the any given time instant in the program itself without referring the plot, ...
    (comp.soft-sys.matlab)
  • Re: y for any given x
    ... I have plotted a time signal which is a array of size in 2D, where y-axis represents the voltageand x-axis the time value. ... the signal that you plotted was the Y value, all you need to do is learn how to access the proper element of that array. ...
    (comp.soft-sys.matlab)
  • Re: -- Wrong limits do not commute
    ... iterated limits means ... mathematics. ... y-axis then going parallel to the x-axis. ...
    (sci.math)
  • Re: Geometry with area..
    ... whose sides lie along the line x-axis, y-axis, L-line. ... Show that the curve has symmetry -- both x-axis symmetry and ... Find dy/dx as a function of t. ...
    (sci.math)
  • Re: XY/ line graph?
    ... You should be able to make an XY chart of ... this three column range. ... I want the x-axis to ... specific points that corresponds to the time listed on the y-axis. ...
    (microsoft.public.excel.charting)