i want to diffuse the values Matrix ''C' by any substitution method. any simple method suggest me.

1 vue (au cours des 30 derniers jours)
I = [12 23 34;23 45 56;12 34 58];
R = I(:)';
x=0.3;
p=0.343;
for n=2:9;
if x(n-1)>=0 & x(n-1)<=p
x(n)=x(n-1)/p;
else
x(n)=(1-x(n-1))/(1-p);
end
end
A=sort(x);
[A,T]=sort(x);
Y=R(T);
C=reshape(Y,[3,3]);

Réponses (0)

Catégories

En savoir plus sur Operating on Diagonal Matrices dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by