creazione di matrici con bmatrix

  • Creatore
    Topic
  • #81830
    Up
    0
    Down
    ::


    Salve!
    Ho il seguente problema: devo creare una matrice di dimensioni 13×5 e utilizzo i seguenti comandi
    `\[
    \mathcal{B}_{\textbf{T},1}=\begin{bmatrix}
    h_0 & 0 & 0 & 0 & 0 & 0 & \dots & 0 & 0 & 0 & h_3 & h_2 & h_1 \\
    h_2 & h_1 & h_0 & 0 & 0 & 0 & \dots & 0 & 0 & 0 & 0 & 0 & h_3 \\
    \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
    0 & 0 & 0 & 0 & 0 & h_3 & \dots & h_2 & h_1 & h_0 & 0 & 0 & 0 \\
    0 & 0 & 0 & 0 & 0 & 0 & \dots & 0 & h_3 & h_2 & h_1 & h_0 & 0
    \end{bmatrix}
    \]`

    Il compilatore mi dà il seguente errore: extra alignment tab has been changed to…
    togliendo 3 colonne non ho più problemi, ma basta aggiungerne una e ci risiamo. Come posso uscirne?
    Grazie.

Visualizzazione 1 filone di risposte
  • Autore
    Risposte
    • #81831
      Up
      0
      Down
      ::

      XANDREA88X” post=81078Salve!
      Ho il seguente problema: devo creare una matrice di dimensioni 13×5 e utilizzo i seguenti comandi
      `\[
      \mathcal{B}_{\textbf{T},1}=\begin{bmatrix}
      h_0 & 0 & 0 & 0 & 0 & 0 & \dots & 0 & 0 & 0 & h_3 & h_2 & h_1 \\
      h_2 & h_1 & h_0 & 0 & 0 & 0 & \dots & 0 & 0 & 0 & 0 & 0 & h_3 \\
      \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
      0 & 0 & 0 & 0 & 0 & h_3 & \dots & h_2 & h_1 & h_0 & 0 & 0 & 0 \\
      0 & 0 & 0 & 0 & 0 & 0 & \dots & 0 & h_3 & h_2 & h_1 & h_0 & 0
      \end{bmatrix}
      \]`

      Il compilatore mi dà il seguente errore: extra alignment tab has been changed to…
      togliendo 3 colonne non ho più problemi, ma basta aggiungerne una e ci risiamo. Come posso uscirne?
      Grazie.

      L’ambiente [tt]bmatrix[/tt] è impostato per un massimo di dieci colonne. Se te ne occorrono di più, scrivi nel preambolo
      `\setcounter{MaxMatrixCols}{13}`
      (o quante sono le colonne nella matrice più grande).

      Ciao
      Enrico

    • #81832
      Up
      0
      Down
      ::


      Grazie mille 😀

Visualizzazione 1 filone di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top