Community Profile

photo

Sultan Mehmood


Last seen: más de 3 años hace Con actividad desde 2018

Estadísticas

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


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...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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-...

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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)...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ?

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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);...

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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))); ...

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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)/...

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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');

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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] .

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 5 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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.

casi 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 5 años hace | 2 respuestas | 0

2

respuestas

Cargar más