how to convert collumn matrix (nxn) into another matrix of (mxn) type .

8 views (last 30 days)
Parvinder  Singh
Parvinder Singh on 17 Oct 2017
Commented: Cedric Wannaz on 17 Oct 2017
I am working on my project where audio encryption is needed .I am stuck in a problem of converting column matrix into (mxn) type matrix. please help me its urgent
  2 Comments

Sign in to comment.

Answers (1)

Cedric Wannaz
Cedric Wannaz on 17 Oct 2017
Edited: Cedric Wannaz on 17 Oct 2017
Difficult to answer with that little detail.. Maybe:
M = reshape( v, n, n ) ;
or
M = reshape( v, n, [] ) ;
with a transposition ( .' ) afterwards if needed.
  2 Comments
Cedric Wannaz
Cedric Wannaz on 17 Oct 2017
I just don't understand what you want to achieve. After you stop recording, variable b is a 40000x1 vector. What do you want to do with it and why? Why a matrix?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by