Dear Maithili, A<-matrix(1:20,4,5)B<-matrix(10:24,5,3) A %*% B
See ?"%*%" for more information. HTH, Jorge On Fri, Feb 6, 2009 at 7:57 AM, Maithili Shiva <maithili_sh...@yahoo.com>wrote: > Hi R helpers, > > > > I have two matrices A and B of the order (4 * 5) and (5 * 3) respectively. > How to multiply these two matrices to obtain resultant matrix of the order > (4 * 3). > > > Thanks in advance > > With regards > > Maithili > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.