From: th on
it doesnt work cause i dont want a magic matrix.i want my matrix. its an image (black letter A in a white background) having a size of 128X128.

I want to put this small letter in a big white background (512X512)
From: th on
it doesnt work cause i dont want a magic matrix.i want my matrix. its an image (black letter A in a white background) having a size of 128X128.

I want to put this small letter in a big white background (512X512)
From: Sean on
"th " <THOMITSU(a)YAHOO.COM> wrote in message <hsje5p$f2c$1(a)fred.mathworks.com>...
> it doesnt work cause i dont want a magic matrix.i want my matrix. its an image (black letter A in a white background) having a size of 128X128.
>
> I want to put this small letter in a big white background (512X512)

Well let's see; how hard is it to change your choice of matrices? You could use:
>>A = magic(128)
>>A = rand(128)
>>A = zeros(128)
>>A = ones(128)
>>A = your_matrix
>>A = pascal(128)

One of those 6 probably should satisfy your needs.

Then do exactly what us or I said. Oh, I forgot, you might also have to change a number or something too. We provided the logic; now you have to make it work for your application.
From: Steven Lord on

"th " <THOMITSU(a)YAHOO.COM> wrote in message
news:hsje5p$f2c$1(a)fred.mathworks.com...
> it doesnt work cause i dont want a magic matrix.i want my matrix. its an
> image (black letter A in a white background) having a size of 128X128.
>
> I want to put this small letter in a big white background (512X512)

And us posted _an example_ of the technique you need to use. All you need
to do is adapt it slightly to use your image instead of the _sample_ data us
used.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ