Community Profile

37 total contributions since 2019

View details...

Contributions in
View by

Question

How to make Latin look up table
I want to use a look up table for example if L1 is latin table and B is another table I want b1=(k*B(1,1))*B(1,2))*(B(1,3)). b...

2 months ago | 1 answer | 0

### 1

Question

Latin Square of our own symbols
Hi I want to construct latin square of my own numbers e.g A =[2 0 9 8] . How can I construct in matlab?

2 months ago | 1 answer | 0

### 1

Question

Hi, I want the gray shade histogram for grayscale image. here is my code. Can any one help me % for red color figure; imhist(...

3 months ago | 0 answers | 0

### 0

Question

How to modify narginchk in DES matlab code
I have downloaded DES code from file exchange and try to modify it a bit but it gives error which I cannot figure out whats wron...

3 months ago | 1 answer | 0

### 1

Question

How to perform right circular shift
Hi. I have written a code to perform circular shift but it does not give me all X28 and Y28 keys . It returns only one X28 and Y...

4 months ago | 1 answer | 0

### 1

Question

matlab code for computing Des inverse Initial permutation
How to find inverse IP (nitial permutation ) of DES in Matlab. Is any code available.

4 months ago | 0 answers | 0

### 0

Question

How to take elements of one matrix as power of the elements of second
Hi If I have a matrix A=[2 3; 6 7], B=[4 5; 9 3] C= [4^2 5 ^3 ;9^6 3^7] that is [b(1,1)^a(1,1) b(1,2)^a(1,2); b(2,1)^a(2,...

4 months ago | 1 answer | 0

### 1

Question

can any one explain this line of the code.
Data=[-1 -0.5 1 2; -4 -3 2 3]; m=2.5; % slope is kept constant c=-10:0.1:10; % different values for intercept c to plot the...

4 months ago | 1 answer | 0

### 1

Question

How to taker power of a permutaion matrix
Hi ,I want to find the power of a permutation matrix, i.e A=(1 2 3;3 2 1) is a permutation matrix and I want to find (1 2 3; 3...

5 months ago | 1 answer | 0

### 1

Question

How to select specific no of terms from a sequence
Hi, I have around 1700 values and i want matlab to get input and then select 256 values after the given input. I dont know how t...

5 months ago | 0 answers | 0

### 0

Question

How tatement to use if statement to eliminate unwanted value
Hi,. I have set of values like .001,0.002,...inf i want to find the max value from these excluding inf X=U/10000; i=[X] ...

5 months ago | 1 answer | 0

### 1

Question

HOW TO get answer in 6 decimal places .
Hi. I have for example U=0,1,2,3,4,5,6,7 i want to divide each no by 10000. I need the answer in decimal and then find the maxi...

5 months ago | 1 answer | 0

### 1

Question

How to add 1 4 key with an image size 256*256 in matlab. e.g ii=i(:,:,3); rng(78932); %agree upon a seed rand_key = uint8(...

5 months ago | 0 answers | 0

### 0

Question

how to add a matrix with the pixel of an image
Hi I want to add a matrix with the pixels of an image.image size is 512 512 and matrix size is 2*2. I=imread('lina512.bmp'); k...

6 months ago | 0 answers | 0

### 0

Question

how to do left and right bit rotation
Hi. I am trying to convert a matrix into 8 bit binary and then want to apply different bit rotations in different rows.e.g for r...

6 months ago | 1 answer | 0

### 1

Question

How to encode alphabets using tables
Hi I want to encode the word "CONGRATULATIONS" using upper case letters.For this I have the table A 0 B 1 C 2 ...

6 months ago | 1 answer | 0

### 1

Question

Gray2bin conversion
Hi I to gant to convert binary to gray. K=[1 2 0 9]; K_1=dec2bin(K); K_2=bin2gray(K_1); The results of K_1 is '0001' ...

6 months ago | 1 answer | 0

### 1

Question

How can I convert (x,y) points(double) into cell
Hi I have set of points which I want to store as cells . 0 8 0 59 4 20 4 47 5 23 5 44 9 20 Any idea how to do this. Par...

6 months ago | 1 answer | 0

### 1

Question

elliptic points as cell
I want to convert elliptic curve points as cell a=0:66; left_side = mod(a.^2,67); right_side = mod(a.^3+1*a-3,67); C={}; ...

6 months ago | 0 answers | 0

### 0

Question

How to rearrange pixels into a new matrix form
I have 64*64 rgb image. I want to reaarange its pixels in matrix form.I.e lowest intensity value comes to the first place (1,1) ...

6 months ago | 1 answer | 0

### 1

Question

unique elliptic curve points
I have few points (0,8),(0,64),(28,1)(28,66),(9,47)(9,20),(54,20)(54,47),(21,10),(21,51) Is there any matlab command which chec...

6 months ago | 1 answer | 0

### 1

Question

converting points on cell array
Hi I want to display points as cell. but it gives error at t for i=0:n-1 t=(find({Y2}=={(X(i+1))})); if (~isempty(t)...

6 months ago | 0 answers | 0

### 0

Question

Image encryption and UACI
I ave encrypted an image with high entropy but UACI id 27.6. I have used randi(special seed) command to increase it but it reach...

6 months ago | 0 answers | 0

### 0

Question

Aarnolds cat map iterations
I have gone through the code given by image analysthttps://www.mathworks.com/matlabcentral/answers/327058-how-can-i-randomize-an...

6 months ago | 0 answers | 0

### 0

Question

storing values using for loop in elliptic curves
Hi I am using elliptic curves point multiplication. I have used for loop but it does not store values properly. clear all G=[7...

6 months ago | 1 answer | 0

### 1

Question

i am applying Arnold's transform on the pixels
Hi, I am writing a code for the following transformation T[x;y]=[x+y:x+2y] the code is n=256; I=imread('fruit1.bmp'); Red=...

6 months ago | 1 answer | 0

### 1

Question

Fibonacci sequence up to first 256 elements
I want to generate first 256 fibonacci sequence elments . the code is repeating a fixed number after some terms, I think that we...

7 months ago | 2 answers | 0

### 2

Question

how to concatinate fibonacci sequence
Hi I want to write matlab code for fibonacci wordswhichis like s(0)=0, s(1)=01, s(2)=010, s(3)=01001.... using formula s(n)=s(...

7 months ago | 1 answer | 0

### 1

Question

index exceeds matrix dim
I am working on 3d image encryption using 8 cross8 matrix. where image size is 256 256*3. portion of the code is attached. Can s...

7 months ago | 0 answers | 0

### 0

Question

How to get coloured layer from an rgb image in matlab.
Hi. I want to extract all three layers from rgb colour image.For red layer i want it is red colour and similarly for green layer...

7 months ago | 1 answer | 0