safaeaarab
Messages postés1Date d'inscriptionlundi 14 décembre 2009StatutMembreDernière intervention21 décembre 2009
-
21 déc. 2009 à 21:14
sinchi87 -
9 janv. 2013 à 00:07
exercice en matlable taux d'interet t suite a un credit de montant k à n annuités constante a est donné par:
t=(a/k*(1-(1+t)^-n))
pour determiner ce taux, on transforme t en une suite récurrente(ti)qui vérifie l'équation:
ti=(a/k*(1-1+t))^-n).
un algo en matlab qui calcul la valeur de ce taux d'interet t.
> I am doing a project in Digital watermarking(koch and zhao ) using DCT
> in Matlab my steps of program are
> 1-read image
> 2- application DCT on image
> 3-selections blocks(B1,B2)from image
> 4-selction 2 coefficients from each block
> 5-put conditions to modify the two coefficien............
> .......................................
> i do that on my code but i stop in selection the 2 coefficient i don't
> know how to do
>
> I am looking for some help in selection two coeffiecients from each
> block separately. I need to access into subblocks of size 8x8 and
> have to find the coefficients to modify it
> I cannot access to pixels in the block [8x8]
> help me with some working code, it will be greatful
> thankkkkks this my @ mail if u want to send
> codes :seifeddine.enimien@gmail.com
> this my code
> I = imread('cameraman.tif');
> % appliquer la dct
> I = im2double(I);
> T = dctmtx(8);
> dct = @(x)T * x * T';
> I1 = blkproc(I,[8 8],dct);
> bs = [8 8]
> %step 1 divide into blocks
> szM = size(I1)
> nb = ceil(szM ./ bs) % number of blocks in each dimension
> C = mat2cell(I1,repmat(bs(1),1,nb(1)), repmat(bs(2),1,nb(2)))
> %mat2cell=matrice to cellule this exB = repmat(eye(2),3,4)explique
> repmat
> c1=C{15,16}
> c2=C{8,9}
> i wait you