I want to create a matrix of dimensions m x n with m = 2000
and n = 4000. How can i do it without having to write whole
of it manually. Please help me out with this.
"Muhammad Rana" <ehsanrana@gmail.com> wrote in message
<g5jfai$osg$1@fred.mathworks.com>...
> Hi,
>
> I want to create a matrix of dimensions m x n with m = 2000
> and n = 4000. How can i do it without having to write whole
> of it manually. Please help me out with this.
Insufficient information to suggest much
more than
"Muhammad Rana" <ehsanrana@gmail.com> wrote in message
<g5jfai$osg$1@fred.mathworks.com>...
> Hi,
>
> I want to create a matrix of dimensions m x n with m = 2000
> and n = 4000. How can i do it without having to write whole
> of it manually. Please help me out with this.
"Matt Fig" <spamanon@yahoo.com> wrote in message
<g5jfta$8ph$1@fred.mathworks.com>...
> "Muhammad Rana" <ehsanrana@gmail.com> wrote in message
> <g5jfai$osg$1@fred.mathworks.com>...
> > Hi,
> >
> > I want to create a matrix of dimensions m x n with m = 2000
> > and n = 4000. How can i do it without having to write whole
> > of it manually. Please help me out with this.
>
> What do you want in your matrix?
> see:
>
> ones
> zeros
> gallery
>
Hi,
well i basically want to generate a Parity Check matrix H of
zeros and ones with order (N-K,N) , where N-K = M = 2000 and
N = 4000.
Teg Veece <103529100@student.ucc.ie> wrote in message
<18271575.1216183663664.JavaMail.jakarta@nitrogen.mathforum.org>...
> It's still not really clear if you want a specific order
to the ones and zeroes in your matrix.
>
> If you don't, this should do the trick:
> round(rand(2000,4000))
Yea I want a specific order for ones and zeros in my matrix.
The column weight should be 3 and the row weight should be 3
as well.
So basically the matrix is of 2000 rows and 4000 columns
with row weight and column weight of 3
"Muhammad Rana" <ehsanrana@gmail.com> wrote in message
<g69tk8$910$1@fred.mathworks.com>...
> Teg Veece <103529100@student.ucc.ie> wrote in message
>
<18271575.1216183663664.JavaMail.jakarta@nitrogen.mathforum.org>...
> > It's still not really clear if you want a specific order
> to the ones and zeroes in your matrix.
> >
> > If you don't, this should do the trick:
> > round(rand(2000,4000))
>
> Yea I want a specific order for ones and zeros in my matrix.
> The column weight should be 3 and the row weight should be 3
> as well.
>
> So basically the matrix is of 2000 rows and 4000 columns
> with row weight and column weight of 3
If you want to get some help, you'll need to explain exactly
how your matrix is built.
is there an algorithm that determines whether each element
is 0 or 1? if yes, what is it?
if no, do you have the data that you have to introduce in
some file??
"Gavrilo Bozovic" <gavrilo.bozovic@helbling.ch> wrote in
message <g69ugd$m4m$1@fred.mathworks.com>...
> "Muhammad Rana" <ehsanrana@gmail.com> wrote in message
> <g69tk8$910$1@fred.mathworks.com>...
> > Teg Veece <103529100@student.ucc.ie> wrote in message
> >
>
<18271575.1216183663664.JavaMail.jakarta@nitrogen.mathforum.org>...
> > > It's still not really clear if you want a specific order
> > to the ones and zeroes in your matrix.
> > >
> > > If you don't, this should do the trick:
> > > round(rand(2000,4000))
> >
> > Yea I want a specific order for ones and zeros in my matrix.
> > The column weight should be 3 and the row weight should be 3
> > as well.
> >
> > So basically the matrix is of 2000 rows and 4000 columns
> > with row weight and column weight of 3
>
> If you want to get some help, you'll need to explain exactly
> how your matrix is built.
>
> is there an algorithm that determines whether each element
> is 0 or 1? if yes, what is it?
>
> if no, do you have the data that you have to introduce in
> some file??
Basically, the matrix i want to build is a sparse parity
check matrix H with M = 2000 and N = 4000. The dimensions of
my parity check matrix say H1 should be M x K, where K = N-M.
I hope you can find a solution to my problem.
Thanks
There is no specific algorithm for this matrix, but the
column weight and row weights are 3, which means it is a
regular parity check matrix.
"Muhammad Rana" <ehsanrana@gmail.com> wrote in message
<g5jfai$osg$1@fred.mathworks.com>...
> Hi,
>
> I want to create a matrix of dimensions m x n with m = 2000
> and n = 4000. How can i do it without having to write whole
> of it manually. Please help me out with this.
Insufficient information to suggest much
more than
"Muhammad Rana" <ehsanrana@gmail.com> wrote in message
<g5jfai$osg$1@fred.mathworks.com>...
> Hi,
>
> I want to create a matrix of dimensions m x n with m = 2000
> and n = 4000. How can i do it without having to write whole
> of it manually. Please help me out with this.
"Matt Fig" <spamanon@yahoo.com> wrote in message
<g5jfta$8ph$1@fred.mathworks.com>...
> "Muhammad Rana" <ehsanrana@gmail.com> wrote in message
> <g5jfai$osg$1@fred.mathworks.com>...
> > Hi,
> >
> > I want to create a matrix of dimensions m x n with m = 2000
> > and n = 4000. How can i do it without having to write whole
> > of it manually. Please help me out with this.
>
> What do you want in your matrix?
> see:
>
> ones
> zeros
> gallery
>
Hi,
well i basically want to generate a Parity Check matrix H of
zeros and ones with order (N-K,N) , where N-K = M = 2000 and
N = 4000.
Teg Veece <103529100@student.ucc.ie> wrote in message
<18271575.1216183663664.JavaMail.jakarta@nitrogen.mathforum.org>...
> It's still not really clear if you want a specific order
to the ones and zeroes in your matrix.
>
> If you don't, this should do the trick:
> round(rand(2000,4000))
Yea I want a specific order for ones and zeros in my matrix.
The column weight should be 3 and the row weight should be 3
as well.
So basically the matrix is of 2000 rows and 4000 columns
with row weight and column weight of 3
"Muhammad Rana" <ehsanrana@gmail.com> wrote in message
<g69tk8$910$1@fred.mathworks.com>...
> Teg Veece <103529100@student.ucc.ie> wrote in message
>
<18271575.1216183663664.JavaMail.jakarta@nitrogen.mathforum.org>...
> > It's still not really clear if you want a specific order
> to the ones and zeroes in your matrix.
> >
> > If you don't, this should do the trick:
> > round(rand(2000,4000))
>
> Yea I want a specific order for ones and zeros in my matrix.
> The column weight should be 3 and the row weight should be 3
> as well.
>
> So basically the matrix is of 2000 rows and 4000 columns
> with row weight and column weight of 3
If you want to get some help, you'll need to explain exactly
how your matrix is built.
is there an algorithm that determines whether each element
is 0 or 1? if yes, what is it?
if no, do you have the data that you have to introduce in
some file??
"Gavrilo Bozovic" <gavrilo.bozovic@helbling.ch> wrote in
message <g69ugd$m4m$1@fred.mathworks.com>...
> "Muhammad Rana" <ehsanrana@gmail.com> wrote in message
> <g69tk8$910$1@fred.mathworks.com>...
> > Teg Veece <103529100@student.ucc.ie> wrote in message
> >
>
<18271575.1216183663664.JavaMail.jakarta@nitrogen.mathforum.org>...
> > > It's still not really clear if you want a specific order
> > to the ones and zeroes in your matrix.
> > >
> > > If you don't, this should do the trick:
> > > round(rand(2000,4000))
> >
> > Yea I want a specific order for ones and zeros in my matrix.
> > The column weight should be 3 and the row weight should be 3
> > as well.
> >
> > So basically the matrix is of 2000 rows and 4000 columns
> > with row weight and column weight of 3
>
> If you want to get some help, you'll need to explain exactly
> how your matrix is built.
>
> is there an algorithm that determines whether each element
> is 0 or 1? if yes, what is it?
>
> if no, do you have the data that you have to introduce in
> some file??
Basically, the matrix i want to build is a sparse parity
check matrix H with M = 2000 and N = 4000. The dimensions of
my parity check matrix say H1 should be M x K, where K = N-M.
I hope you can find a solution to my problem.
Thanks
There is no specific algorithm for this matrix, but the
column weight and row weights are 3, which means it is a
regular parity check matrix.
Tags for this Thread
Add a New Tag:
Separated by commas
Ex.: root locus, bode
What are tags?
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central. Read the complete Disclaimer prior to use.