how to convert collumn matrix (nxn) into another matrix of (mxn) type .
조회 수: 13 (최근 30일)
이전 댓글 표시
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
KL
2017년 10월 17일
What do you mean by "column matrix(nxn)"..?
Column matrix is supposed to have only one column, so it should rather be (nx1).
답변 (1개)
Cedric
2017년 10월 17일
편집: Cedric
2017년 10월 17일
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
Cedric
2017년 10월 17일
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?
참고 항목
카테고리
Help Center 및 File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!