From: Gaurav Raghubanshi on
i m a beginner in case of matlab, im having problem initializing a complex array dynamically, im using it for finding out the fourier descriptors for a application in signature recognition,
please help...
From: Sadik on
Hi Gaurav,

Would this work?

N = 256; % just made it up
complexMatrix = rand(N)+i*rand(N);

so that you have an NxN complex matrix with elements real and imag parts ranging from 0 to 1

Best.