How to handle matrix resizing?



Hi,

In my program, I define a matrix A. Then I store some data in A.
Since input data is generated by another program and the dimension is
unknown, normally I define A as large as possible, say
A(10000,10000), to accomodate them. Occsionally the dimension of the
data exceeds 10000. Although Matlab can extend the dimension of A
automatically to accomodate the data, it is very very slow. But if A
is defined as very large martix from scratch, the program will take
much more time to finish. Any one can advise me how to solve the
problem?

Jerry
.



Relevant Pages

  • Re: How to handle matrix resizing?
    ... Since input data is generated by another program and the dimension is ... A, to accomodate them. ... Does the other program save all data to a file at once, or in parts and your Matlab program reads the parts? ...
    (comp.soft-sys.matlab)
  • Re: How to handle matrix resizing?
    ... Since input data is generated by another program and the dimension ... unknown, normally I define A as large as possible, say ... A, to accomodate them. ...
    (comp.soft-sys.matlab)
  • Re: Best design practice for temporal facts...
    ... Now do you store in a fact table the following columns of data: ... DateTimeStamp (When was this data captured, FK to time dimension) ... just to show the change in utilization at any given moment. ... > For more information regarding Real-Time Cubes, ...
    (microsoft.public.sqlserver.olap)
  • Re: Switch MDX according to VALUE
    ... I need you to post the entire MDX, not just the IIF part. ... If it is stored under the Measures dimension, ... > I followed your advice entering to MDX Sample Application, find "STORE EL" ...
    (microsoft.public.sqlserver.olap)
  • Re: how to compute distance metrics with multi dimensional data
    ... Lou Pecora wrote: ... > It generalizes to any dimension. ... formula for multi dimentional time series, ... ie 2d input data or i should've called it multivariate input data ...
    (sci.nonlinear)