Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: matrix calculation

From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   st: Re: matrix calculation
Date   Wed, 15 Oct 2003 19:09:24 -0500

----- Original Message ----- 
From: "Li Zeng" <[email protected]>
To: <[email protected]>
Sent: Wednesday, October 15, 2003 2:31 PM
Subject: st: matrix calculation

> A quick question.
> Suppose I have two equal size matrix A and B.  Is there such a command that
> will return a matrix C, the [i, j] element of which equal to A[i, j] / B[i,
> j]?
> Many thanks.
> Li

-matewd- will perform elementwise division of matrices.  It is part of Nick
Cox's matodd, a suite of matrix manipulation programs.

Try -findit matodd- to locate and download.

Hope this helps,

*   For searches and help try:

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