photo

Sultan Mehmood


Last seen: plus de 4 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


i want to diffuse the values Matrix ''C' by any substitution method. any simple method suggest me.
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; e...

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


how we check the key space analysis and key sensitivity analysis in matlab??
I = imread('camera man.png'); R = I(:)'; x=0.3; p=0.343; for n=2:65536; if x(n-1)>=0 & x(n-1)<=p x(n)=x(n-1)/p; else x...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


why the subtraction gives the wrong ans.?
y=uint16(22); >> Z=uint16(164); >> S=y-Z S = 0 how i get an ans = -142

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


how to convert the fraction part into intger?
r = 3.342448; L(1)= 0.234; for i=2:4 L(i) = r*L(i-1)*(1-L(i-1)); end mm=min(L); nn=max(L); oo=nn-mm; Z=uint8(254*((L-...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


why i get an error ?
II=[114 223;176 155]; R=II(:)'; x=0.3; p=0.343; for n=2:4; if x(n-1)>=0 & x(n-1)<=p x(n)=x(n-1)/p; else x(n)=(1-x(n-1)...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to add one element in matrix?
A=[23;23;24;13;24]' A = 23 23 24 13 24 z=12; A = 12 23 23 24 13 24 who to do this ?

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


i get a problem how to face this in bitxor?
II=[14 23;16 15]; R=II(:)'; x=0.3; p=0.343; for n=2:4; if x(n-1)>=0 & x(n-1)<=p x(n)=x(n-1)/p; else x(n)=(1-x(n-1))/(1...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


i get an error. ,whats wrong in DWT? how LoD and HiD works in DWT ?
X=imread('camera man.png'); imagesc(X) colormap gray [LoD,HiD] = wfilters('haar','d'); [cA,cH,cV,cD] = dwt2(X,LoD,HiD); sub...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


i get an error.whats wrong? why the values of 'B' in intger instead of decimal.
II=[14 23;44 15]; R=II(:)'; x=0.3; p=0.343; for n=2:4; if x(n-1)>=0 & x(n-1)<=p x(n)=x(n-1)/p; else x(n)=(1-x(n-1))/(1...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


i get an error .whats wrong ? Subscript indices must either be real positive integers or logicals. Error in (line 54) CC(j)=bitxor(mode(R(ii)+CC(j-1),256),K(i));
II= imread('camera man.png'); R =II(:)'; x(1)=0.27; q=0.3; for i=2:65736; if x(i-1)>=0 & x(i-1)<q x(i)=(x(i-1)/q); elseif...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


Index exceeds matrix dimensions. where is mistake
II=[14 23;44 15]; R=II(:)'; x=0.3; p=0.343; for n=2:4; if x(n-1)>=0 & x(n-1)<=p x(n)=x(n-1)/p; else x(n)=(1-x(n-1))/(1...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


how to change the bit of any matrix?
A=[12 32 ;23 14]; >> D=A(:)'; >> S=de2bi(D); >> S=de2bi(D) S = 0 0 1 1 0 0 1 1 ...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


how to do one bit difference between plain images in matlab .
Image= imread('camera man.png'); suppose A=[12 13;16 8]; A=[00001100 00001101; 0010000 00001000]; if 4th bit =0 the...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to do this in matlab by the multiply constant matrix and the inversion matrix
x=0.3; p=0.343; for n=2:65536; 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...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


Divide the shuffled sequence Q={Q1,Q2,Q3,···,Qm×n}. into MN/16 matrices which are 4×4. M=256 and N=256
x=0.3; p=0.343; for n=2:65536; 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);...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


why taking mod this problem is occur ? where is the problem.
r = 3.8; size = 9; L(1)= 0.23; for i=2:size L(i) = r*L(i-1)*(1-L(i-1)); end for i=1:9 S(i)=floor(abs(L(i))); ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


why we use flag in matlab code and if we have sequence of integer then how the flag(integer)=1 ?
intger=(2,6,8,9) flag(intger)=1; how it works? how flag select the value of intger

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how ergodic matrix works in matlab .? how i can check this one is right or wrong? any one help plz.
x(1)=0.27; q=0.3; for i=2:65736; if x(i-1)>=0 & x(i-1)<q x(i)=(x(i-1)/q); elseif x(i-1)>=q & x(i-1)<=0.5 x(i)=(x(i-1)-q...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


how to permute the sequence? why it takes to much time .
wh

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


how ergodric matrix works?
x(1)=0.27; q=0.3; for i=2:65736; if x(i-1)>=0 & x(i-1)<q x(i)=(x(i-1)/q); elseif x(i-1)>=q & x(i-1)<=0.5 x(i)=(x(i-1)-q)/...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


how to change a one bit value of an image in matlab.? if image size 256*256 and just to change one pixel value ?
Image= imread('camera man.png');

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to initialize the permutation sequence ?
i want to initialize the permutation sequence, T={t(1),t(2)......t(65536)}. and t(i) E [ 1, 65536] .

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to set a one dimensional matrix flag ,which length is 65536 and each of its elements is zero.?
matrix flag 1*65536

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


how to get rid of transient effect for 'N' times. ? or which command is used for this?
x(1)=0.342564; q=0.35343; N=200; for n=2:65536; x(n)=(x(n-1)-floor(x(n-1)/q)*q)/q; end

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


how to use flag matrix in matlab ?
let j is a sequence.

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


how to remove first n entries from iterete sequence or vector.?
A=(1,2 ,3,4,5,6,7,8,9,10) remove first 3 values.

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


how to write in matlab?
flag(j)<------- 1, t(i)<------- j. which sign is used instead of arrow(<--------) between them.

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


how to suppose ergodric matrix from control perimeter ?
T={t(1),t(2),........t(L)} t(i) belongs to [1,L]

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


how to write or condition in if statement matlab?
if (j==i) , or (flag(j)==1)

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


how xor is used between two no.? or which command ?
LL=mod(176+233,256) xor (142);

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Charger plus