[Solved] Height of matrix and vector of same dimension

Discuss the formula editor

[Solved] Height of matrix and vector of same dimension

Postby ElBender » Mon May 27, 2013 11:39 am

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
ElBender
 
Posts: 2
Joined: Mon May 27, 2013 11:30 am

Re: constant height of matrix and vector of same dimension

Postby MrProgrammer » Mon May 27, 2013 5:43 pm

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 on MacOS 10.14.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Moderator
 
Posts: 3952
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: constant height of matrix and vector of same dimension

Postby acknak » Mon May 27, 2013 7:03 pm

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
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

Postby ElBender » Tue May 28, 2013 1:19 pm

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

Tanks
OpenOffice 3.4.0, Windows 7
ElBender
 
Posts: 2
Joined: Mon May 27, 2013 11:30 am


Return to Math

Who is online

Users browsing this forum: No registered users and 1 guest