Really need help to speed up piece of code "us " <us(a)neurol.unizh.ch> wrote in message <i3c8g1$i2m$1(a)fred.mathworks.com>... "David Romero-Antequera" <dromero_fisica(a)yahoo.es> wrote in message <i3c7i1$adm$1(a)fred.mathworks.com>... Hello, everyone. I need some suggestion to make the following function faster. function psi=NLF(z,y,fun... 4 Aug 2010 15:47
vectorizing sum of kronecker products Hi, Suppose K is an array with size(K) = [n n L]. I'd really appreciate help trying to vectorize the following loop to solve for A: A = zeros(n^2, n^2); for j = 1:L A = A + kron(conj(K(:,:,j)), K(:,:,j)); end (context: this converts a set of kraus operators (K) into the Liouville superoperator form (... 5 Aug 2010 16:54
Really need help to speed up piece of code "Joseph " <don'twannapostit(a)nopers.com> wrote in message <i3c8ca$9kg$1(a)fred.mathworks.com>... There seems to be a mistake in this code. I don't think for fun = funvector does what you want. "David Romero-Antequera" <dromero_fisica(a)yahoo.es> wrote in message <i3c7i1$adm$1(a)fred.math... 4 Aug 2010 14:41
Really need help to speed up piece of code > % from psi=zeros(size(y)); % to psi=zeros(size(y),'double'); % Slightly faster: m = 50000; n = 5000; tic a=zeros(m,n); timea = toc clear a tic b=zeros([m,n],'double'); timeb = toc clear b tic c(m,n) = 0; timec = toc % displays: timea = 0.873374775 timeb = ... 4 Aug 2010 14:41
mmreader method Hi Prasanna, I am experiencing a similar problem (I get the same error message). I have downloaded a xvid codec but it does not seem to have fixed it. Please could you tell me where you obtained the codec that fixed the problem? I would really appreciate it if you could help me out with this. Paul "Prasan... 4 Aug 2010 14:41
Looking for an efficient way to find whether a path intersects with a volume Hi, I have a problem that is somewhat above my ability, so I thought I'd give you all a try. Thanks in advance. The goal: I want to know whether a path, given by a series of coordinates, intersects with a volume, also given by a series of coordinates, where each coordinate represents an volume (let's say 30,50,... 4 Aug 2010 16:53
Really need help to speed up piece of code "David Romero-Antequera" <dromero_fisica(a)yahoo.es> wrote in message <i3c7i1$adm$1(a)fred.mathworks.com>... Hello, everyone. I need some suggestion to make the following function faster. function psi=NLF(z,y,funvector,orig_size) psi=zeros(size(y)); Y=ifft2(reshape(y,orig_size)); for ... 4 Aug 2010 14:41
Really need help to speed up piece of code There seems to be a mistake in this code. I don't think for fun = funvector does what you want. "David Romero-Antequera" <dromero_fisica(a)yahoo.es> wrote in message <i3c7i1$adm$1(a)fred.mathworks.com>... Hello, everyone. I need some suggestion to make the following function faster. func... 4 Aug 2010 13:36
problem matlab win7 OS 64 bit Hi everybody, I have a problem with my MatLab when I use Simulink, in particular when I use "embedded function" in Simulink. I know that the problem could be the compiler, because I use MatLab R2008a with a OS at 64bit (Win 7). I am not able to set "mex" in Matlab, even though I have installed Microsoft Virtual Studi... 11 Aug 2010 07:05
How do I prevent a cell class variable from being converted to char class? Hi, I've written a function that creates a variable which is a cell array of strings. Using "whos", I can see that this cell array is of "cell" class within this function, but after leaving the function, this variable is getting converted into "char" class. How do I prevent this from happening? In other wor... 4 Aug 2010 14:41 |