|
fft_intensity(x,y,:)=fft(double(intensity(x,y,:)))
fft_intensity_sin(x,y,:)= (corrmtx(fft_intensity(x,y,:),1))
plot(polang,squeeze_sin(fft_intensity(x,y,:)),'bo');
hold on;
here is the piece of code that has the problem
"us " <us@neurol.unizh.ch> wrote in message <gprc6d$ger$1@fred.mathworks.com>...
> "Snow White"
> > ??? Subscripted assignment dimension mismatch.
> > Error in ==> refractive_index_estimation_fft at 96
> > fft_intensity_sin(x,y,:)= (corrmtx(fft_intensity(x,y,:),1))
> > anyone how can i solve this...
>
> no...
> (how could we possibly help you - given the information you provide...)
>
> a few steps, which might be helpful in debugging your code
>
> % 1)
> dbstop if error;
> % 2) run your code, it will edit your file and put you on the offending line
> % 3) now look what you get, eg,
>
> atmp=corrmtx(fft_intensity(x,y,:),1);
> btmp=fft_intensity_sin(x,y,:);
> whos atmp btmp;
> % 4) now explore why those TMPs cannot be merged...
>
> us
|