Thread Subject:
Subscripting into an mxArray

Subject: Subscripting into an mxArray

From: NvZ

Date: 9 Jun, 2012 18:43:34

Message: 1 of 3

Hello,
I don't know what can i do with this error :
___________________________
Subscripting into an mxArray is not supported.

Function 'fitre_gauss.m' (#27.667.674), line 26, column 33:
"Im(k,l)"
____________________________

my code is:
____________________________
for k=1:s1
    for l=1:s2
        C(k,l) = (0.1+ (410 .* Im(k,l)))/(105.5 + Im(k,l));
    end
end
___________________________

Who can help me please?
thanks...

--http://compgroups.net/comp.soft-sys.matlab/

Subject: Subscripting into an mxArray

From: dpb

Date: 9 Jun, 2012 21:09:20

Message: 2 of 3

On 6/9/2012 1:43 PM, NvZ wrote:
> Hello,
> I don't know what can i do with this error :
> ___________________________
> Subscripting into an mxArray is not supported.
>
> Function 'fitre_gauss.m' (#27.667.674), line 26, column 33:
> "Im(k,l)"
> ____________________________
>
> my code is:
> ____________________________
> for k=1:s1
> for l=1:s2
> C(k,l) = (0.1+ (410 .* Im(k,l)))/(105.5 + Im(k,l));
> end
> end
> ___________________________
>
> Who can help me please?
> thanks...
...

Not enough info supplied--need the gateway routine and the declarations.

--

Subject: Subscripting into an mxArray

From: NvZ

Date: 11 Jun, 2012 01:42:56

Message: 3 of 3


____________________________
Im_gray = rgb2gray(Image);
h = fspecial('gaussian',[15 15],2);
Im = imfilter(Im_gray,h);%,'same');
s1=0;
s2=0;
s1=size(Im,1)
s2=size(Im,2)
____________________________

And Now?

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us