[Solved] Height of matrix and vector of same dimension

Discuss the formula editor
Post Reply
ElBender
Posts: 2
Joined: Mon May 27, 2013 11:30 am

[Solved] Height of matrix and vector of same dimension

Post by ElBender »

Hi all!

I have a matrix problem that a cant sove since hours. Maybe one of you guys has a solution. That would be great!
I have matrices and vectors on the same equation. But because of small and big letters, the rows of the matrix compared to the vetor do not have the equal height.

left [
stack{dot u # dot v # dot p # dot r}
right ]
=
left [ matrix{
X_u # X_v # X_p # X_q ##
Y_u # Y_v # Y_p # Y_q ##
L_u # L_v # L_p # L_q ##
M_u # M_v # M_p # M_q
}right ]

Thank for solutions!!
Last edited by ElBender on Tue May 28, 2013 1:17 pm, edited 1 time in total.
OpenOffice 3.4.0, Windows 7
User avatar
MrProgrammer
Moderator
Posts: 4908
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: constant height of matrix and vector of same dimension

Post by MrProgrammer »

Hi, and welcome to the forum. Perhaps this?
  • left [
       size +3 { stack{dot u # dot v # dot p # dot r} }
    right ]
    = 
    left [ matrix{
       X_u # X_v # X_p # X_q ##
       Y_u # Y_v # Y_p # Y_q ##
       L_u # L_v # L_p # L_q ##
       M_u # M_v # M_p # M_q 
    } right ]
If this answered your question please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: constant height of matrix and vector of same dimension

Post by acknak »

Maybe ...
  • left [
    matrix{
      {phantom "|"_"|"} dot u {phantom "|"_"|"} ##
      {phantom "|"_"|"} dot v {phantom "|"_"|"} ##
      {phantom "|"_"|"} dot p {phantom "|"_"|"} ##
      {phantom "|"_"|"} dot r {phantom "|"_"|"}
    }
    right ]
    =
    left [
    matrix{
      X_u # X_v # X_p # X_q ##
      Y_u # Y_v # Y_p # Y_q ##
      L_u # L_v # L_p # L_q ##
      M_u # M_v # M_p # M_q
    }
    right ]
AOO4/LO5 • Linux • Fedora 23
ElBender
Posts: 2
Joined: Mon May 27, 2013 11:30 am

Re: constant height of matrix and vector of same dimension

Post by ElBender »

Prefect!
Both solutions work!
The "phantom" hint is very smart.

Tanks
OpenOffice 3.4.0, Windows 7
Post Reply