+ Reply to Thread
Results 1 to 5 of 5

Recreate the upper part of a symetric data matrix 75x75

  1. #1
    Michael Cantinotti
    Guest

    Recreate the upper part of a symetric data matrix 75x75

    hi,

    I have to use a matrix that come from SPSS. I get a 75x75 symetric
    matrix of distances between points (75 points). Zero are in the
    diagonal. Only the lower part of the diagonal is diplayed. I exported
    this matrix in Excel.

    I am trying to recreate the full matrix (I need this for special
    calculus). Is there a way to automate this (I would like to avoid
    copy-past transpose, in order to avoid errors) ?

    Point X12 should have the same value of X21, same applies for X13 and
    X31, etc.

    Any idea ? Thks,

    Michael

  2. #2
    Barb R.
    Guest

    RE: Recreate the upper part of a symetric data matrix 75x75

    I would think that the TRANSPOSE array function would work for this. Use
    Excel Help to find out more about the TRANSPOSE function.

    Barb Reinhardt

    "Michael Cantinotti" wrote:

    > hi,
    >
    > I have to use a matrix that come from SPSS. I get a 75x75 symetric
    > matrix of distances between points (75 points). Zero are in the
    > diagonal. Only the lower part of the diagonal is diplayed. I exported
    > this matrix in Excel.
    >
    > I am trying to recreate the full matrix (I need this for special
    > calculus). Is there a way to automate this (I would like to avoid
    > copy-past transpose, in order to avoid errors) ?
    >
    > Point X12 should have the same value of X21, same applies for X13 and
    > X31, etc.
    >
    > Any idea ? Thks,
    >
    > Michael
    >


  3. #3
    Michael Cantinotti
    Guest

    Re: Recreate the upper part of a symetric data matrix 75x75

    Thank you for your reply Barb,

    The problem with TRANSPOSE is that it is problematic to apply within a
    triangular dataset.

    E.g.:

    0
    2 0
    3 2 0
    1 5 3 0

    If I have to recover the upper part of the matrix (above the 0s), I will
    have to paste the function in each cell... I think I need something in
    VBA. Maybe someone as already been faced with this problem ?

    Michael

    Barb R. wrote:
    > I would think that the TRANSPOSE array function would work for this. Use
    > Excel Help to find out more about the TRANSPOSE function.
    >
    > Barb Reinhardt
    >
    > "Michael Cantinotti" wrote:
    >
    >
    >>hi,
    >>
    >>I have to use a matrix that come from SPSS. I get a 75x75 symetric
    >>matrix of distances between points (75 points). Zero are in the
    >>diagonal. Only the lower part of the diagonal is diplayed. I exported
    >>this matrix in Excel.
    >>
    >>I am trying to recreate the full matrix (I need this for special
    >>calculus). Is there a way to automate this (I would like to avoid
    >>copy-past transpose, in order to avoid errors) ?
    >>
    >>Point X12 should have the same value of X21, same applies for X13 and
    >>X31, etc.
    >>
    >>Any idea ? Thks,
    >>
    >>Michael
    >>


  4. #4
    Barb R.
    Guest

    Re: Recreate the upper part of a symetric data matrix 75x75

    Did you try TRANSPOSE with what would be the whole 75x75 array? What did
    that do?

    "Michael Cantinotti" wrote:

    > Thank you for your reply Barb,
    >
    > The problem with TRANSPOSE is that it is problematic to apply within a
    > triangular dataset.
    >
    > E.g.:
    >
    > 0
    > 2 0
    > 3 2 0
    > 1 5 3 0
    >
    > If I have to recover the upper part of the matrix (above the 0s), I will
    > have to paste the function in each cell... I think I need something in
    > VBA. Maybe someone as already been faced with this problem ?
    >
    > Michael
    >
    > Barb R. wrote:
    > > I would think that the TRANSPOSE array function would work for this. Use
    > > Excel Help to find out more about the TRANSPOSE function.
    > >
    > > Barb Reinhardt
    > >
    > > "Michael Cantinotti" wrote:
    > >
    > >
    > >>hi,
    > >>
    > >>I have to use a matrix that come from SPSS. I get a 75x75 symetric
    > >>matrix of distances between points (75 points). Zero are in the
    > >>diagonal. Only the lower part of the diagonal is diplayed. I exported
    > >>this matrix in Excel.
    > >>
    > >>I am trying to recreate the full matrix (I need this for special
    > >>calculus). Is there a way to automate this (I would like to avoid
    > >>copy-past transpose, in order to avoid errors) ?
    > >>
    > >>Point X12 should have the same value of X21, same applies for X13 and
    > >>X31, etc.
    > >>
    > >>Any idea ? Thks,
    > >>
    > >>Michael
    > >>

    >


  5. #5
    chantelanuit
    Guest

    Re: Recreate the upper part of a symetric data matrix 75x75

    Hi barb,

    Just to tell you that I found a solution. It was so easy.... I am quite
    shameful

    Just have to select the table (only the data below the diagonal are
    entered in that table. The upper part is empty). Then, copy and paste
    the transposed table in another sheet. Eventually, copy the transposed
    table WITHOUT blank cells (option in paste special) on the original
    table.

    I am so happy it works....

    Regards,

    Michael

    Barb R. wrote:
    > Did you try TRANSPOSE with what would be the whole 75x75 array?

    What did
    > that do?
    >
    > "Michael Cantinotti" wrote:
    >
    > > Thank you for your reply Barb,
    > >
    > > The problem with TRANSPOSE is that it is problematic to apply

    within a
    > > triangular dataset.
    > >
    > > E.g.:
    > >
    > > 0
    > > 2 0
    > > 3 2 0
    > > 1 5 3 0
    > >
    > > If I have to recover the upper part of the matrix (above the 0s), I

    will
    > > have to paste the function in each cell... I think I need something

    in
    > > VBA. Maybe someone as already been faced with this problem ?
    > >
    > > Michael
    > >
    > > Barb R. wrote:
    > > > I would think that the TRANSPOSE array function would work for

    this. Use
    > > > Excel Help to find out more about the TRANSPOSE function.
    > > >
    > > > Barb Reinhardt
    > > >
    > > > "Michael Cantinotti" wrote:
    > > >
    > > >
    > > >>hi,
    > > >>
    > > >>I have to use a matrix that come from SPSS. I get a 75x75

    symetric
    > > >>matrix of distances between points (75 points). Zero are in the
    > > >>diagonal. Only the lower part of the diagonal is diplayed. I

    exported
    > > >>this matrix in Excel.
    > > >>
    > > >>I am trying to recreate the full matrix (I need this for special
    > > >>calculus). Is there a way to automate this (I would like to avoid


    > > >>copy-past transpose, in order to avoid errors) ?
    > > >>
    > > >>Point X12 should have the same value of X21, same applies for X13

    and
    > > >>X31, etc.
    > > >>
    > > >>Any idea ? Thks,
    > > >>
    > > >>Michael
    > > >>

    > >



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1