Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to create relation b/w two vector by scrambling vector .let x& A be two vectors and T is formed by scrambling vectors. s.that A(i)=x(t(i)

1 vue (au cours des 30 derniers jours)
Sultan Mehmood
Sultan Mehmood le 28 Juin 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
x=0.3;
p=0.343;
for n=2:5;
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);
T= scrambled (x,A)

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by