Algorithme en matlab

safaeaarab Messages postés 1 Date d'inscription lundi 14 décembre 2009 Statut Membre Dernière intervention 21 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.

2 réponses

krimog Messages postés 1860 Date d'inscription lundi 28 novembre 2005 Statut Membre Dernière intervention 14 février 2015 49
22 déc. 2009 à 10:06
Très intéressant sujet d'exercice. Merci à toi.

Krimog : while (!(succeed = try())) ;
- Nous ne sommes pas des décodeurs ambulants. Le style SMS est prohibé ! -
0
> 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
0
Rejoignez-nous