Prev: CT sinogram
Next: question on using cov
From: Richard on 29 Apr 2010 11:19 Hi, I want to store an 'array' of multiple object types. On each iteration of a loop I want to be able to store several different types of objects(user defined classes) in something like an array to record the state at each iteration? Whats the best way to do this? Thanks Richard
From: ImageAnalyst on 29 Apr 2010 13:14 A cell array. That's its raison d'etre. Each cell is like a bucket that you can thrown any kind of data into. And each bucket in your array of buckets can each hold a different kind of data. In other words, all buckets don't have to hold the same data type.
|
Pages: 1 Prev: CT sinogram Next: question on using cov |