# Sultan Mehmood

Followers: 0 Following: 0

**Statistics**

RANK**259,350**

of 291,016

REPUTATION**0**

CONTRIBUTIONS

**43** Questions

**2** Answers

ANSWER ACCEPTANCE **
37.21%
**

VOTES RECEIVED**0**

RANK

of 19,738

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 145,633

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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

4 years ago | 0 answers | 0

### 0

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

why the subtraction gives the wrong ans.?

y=uint16(22); >> Z=uint16(164); >> S=y-Z S = 0 how i get an ans = -142

5 years ago | 3 answers | 0

### 3

answersQuestion

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

5 years ago | 2 answers | 0

### 2

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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 ?

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 0 answers | 0

### 0

answersQuestion

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

5 years ago | 0 answers | 0

### 0

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 2 answers | 0

### 2

answersQuestion

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

5 years ago | 2 answers | 0

### 2

answersQuestion

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

5 years ago | 2 answers | 0

### 2

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 0 answers | 0

### 0

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 0 answers | 0

### 0

answers### 0

answersQuestion

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

5 years ago | 0 answers | 0

### 0

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

matrix flag 1*65536

5 years ago | 3 answers | 0

### 3

answersQuestion

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

5 years ago | 0 answers | 0

### 0

answers### 0

answersQuestion

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.

5 years ago | 2 answers | 0

### 2

answersQuestion

how to write in matlab?

flag(j)<------- 1, t(i)<------- j. which sign is used instead of arrow(<--------) between them.

5 years ago | 2 answers | 0

### 2

answersQuestion

how to suppose ergodric matrix from control perimeter ?

T={t(1),t(2),........t(L)} t(i) belongs to [1,L]

5 years ago | 0 answers | 0

### 0

answersQuestion

how to write or condition in if statement matlab?

if (j==i) , or (flag(j)==1)

5 years ago | 2 answers | 0

### 2

answersQuestion

how xor is used between two no.? or which command ?

LL=mod(176+233,256) xor (142);

5 years ago | 2 answers | 0