From: Sumeet on 29 Jul 2010 04:04 Hello, I'm trying to speed up a for loop in a Matlab program using parfor. The problem for loop is as follows: coupled_data = zeros(1, length(e)/segment_size); parfor i=segment_size:segment_size:length(e) coupled_data(i/segment_size)= bin2dec(num2str(data_e(i-segment_size+1:i)))+1; end I get the following error: ??? Error: File: HMMEST_no_overlap_bits.m Line: 18 Column: 5 The variable coupled_data in a parfor cannot be classified. Any help would be appreciated. Thanks
|
Pages: 1 Prev: custom file extension Next: Two set of eigenvalue equations |