<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>

  <TITLE>linspace</TITLE>

  <TYPE>Scilab Function</TYPE>

  <DATE>April 1993</DATE>

  <SHORT_DESCRIPTION name="linspace">linearly spaced
  vector</SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>[v]=linspace(x1,x2 [,n])</CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>x1,x2</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: real or complex scalars</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>

      <PARAM_ITEM>
        <PARAM_NAME>n</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: integer (number of values) (default value = 100)</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>

      <PARAM_ITEM>
        <PARAM_NAME>v</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: real or complex row vector</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>

  <DESCRIPTION>
    <P>Linearly spaced vector. <VERB>linspace(x1, x2)</VERB> generates a row
    vector of n (default value=100) linearly equally spaced points between
    <VERB>x1</VERB> and <VERB>x2</VERB>. if <VERB>x1</VERB> or <VERB>x2</VERB>
    are complex then <VERB>linspace(x1,x2)</VERB> returns a row vector of n
    complexes, the real (resp. imaginary) parts of the n complexes are
    linearly equally spaced between the real (resp. imaginary) parst of
    <VERB>x1</VERB> and <VERB>x2 </VERB></P>
  </DESCRIPTION>

  <EXAMPLE><![CDATA[

linspace(1,2,10)
linspace(1+%i,2+2*%i,10)
 
  ]]></EXAMPLE>

  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>logspace</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>