Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: string calculation


From   tanaka yoshi <[email protected]>
To   <[email protected]>
Subject   st: string calculation
Date   Fri, 18 Jan 2008 04:20:35 +0900

Dear All

I have a question about the matrix calculation in the form of string.
Please look at the following example.

. mata
: X=("a","b")
: Y=("c","d")
: Z=X+Y
: Z
        1    2
    +-----------+
  1 |  ac   bd  |
    +-----------+
: end

the result is (ac, bd), but the expression i want to get is (a+c, b+d).
Does anyone know how to display (a+c, b+d)?
Thank you!

Yoshi


_________________________________________________________________
Hotmailがお届けする、幸せになるためのメールマガジン「ビジネス幸福論」実施中
http://go.windowslive.jp/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index