# NOOB problem here.

• November 11th, 2011, 01:59 PM
Nemus
NOOB problem here.
Okay so here's my assignment:

Get user input dimensions for 2 Matrices. One of the matrix is filled with Numbers(INT) and the other is filled with Single Letters.(STRING)

After both matrices are filled. Both matrices needs to be transformed into another one. Using these specifics: Compute the output matrix C in which each element Cij is the result of replicating each element Aij exactly Bij times.

Matrix A=
{ B C E
A F G
C G K }

Matrix B=
{1 3 4
2 1 2
1 2 4 }
The matrix C would be transposed into:

Matrix C =
{ B CCC EEEE
AA F GG
C GG KKKK }

Okay. So far I've had no problem creating Matrix A and Matrix B. And I have no problem transposing a third Matrix(C) if A and B are both filled with Integers but now that A is filled with Strings Chars, I can not seem to find the solution. If anyone could send me into the right direction, articles or anything regarding this, it would be greatly appreciated.

Thank you.
• November 12th, 2011, 01:10 AM
Mr.777
Re: NOOB problem here.
You must need to know the basics first.
• November 12th, 2011, 01:39 PM
Nemus
Re: NOOB problem here.
Oh okay. What do you mean by that?
• November 13th, 2011, 07:13 AM
Mr.777
Re: NOOB problem here.
I mean, you must start taking tutorials from internet.