**Statistics**

**MATLAB Answers**

**22** Questions

**0** Answers

RANK**229 437**

of 273 095

REPUTATION**0**

CONTRIBUTIONS

**22** Questions

**0** Answers

ANSWER ACCEPTANCE **
54.55%
**

VOTES RECEIVED**0**

RANK

of 18 445

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 122 517

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

**Content Feed**

Question

Troubleshooting code for prompt and inputdlg

The following code works fine for any user input for N: N = input('Number of pieces to break into '); rowgroups =...

mer än 5 år ago | 2 answers | 0

### 2

answersQuestion

Retrieving the original LSBs in LSB steganography

I am working on a project where I need to divide an image file into smaller parts (no. of parts is user input). Let's say, 2 par...

mer än 5 år ago | 1 answer | 0

### 1

answerQuestion

Code debugging help needed

I have the following code: clc; close all; clear; workspace; N=3; % Select file ...

mer än 5 år ago | 1 answer | 0

### 1

answerQuestion

How can I change the LSBs of consecutive elements of an array?

I have a row matrix a = [23, 255, 67, 89, 45, 90, 34, 12] and a number, n = 3 (of 8 bits) which I want to hide in the LSBs of ev...

mer än 5 år ago | 2 answers | 0

### 2

answersQuestion

How to display images from a cell array?

I have 5 images in a cell array 'imageshares' and I want to display them individually. figure image(imageshares...

mer än 5 år ago | 2 answers | 0

### 2

answersQuestion

How to divide a matrix into a variable number of smaller matrices?

My task is to divide an image into smaller parts. The dimensions of the image will be variable and I need to divide the image by...

mer än 5 år ago | 1 answer | 0

### 1

answerQuestion

Separating RGB components from two different .png files

I used a file 'facebook.png' and separated the RGB components. The following code worked fine. if true red=f(:,:,1); %Si...

nästan 6 år ago | 2 answers | 0

### 2

answersQuestion

Image created but not of supported file type

I am encrypting an image and displaying the encrypted image and also saving it in the default directory with a .jpeg extension....

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

Problem with reading and writing an image

I have two programs - one to encrypt and the other to decrypt an image. At the end of the encryption, I am concatenating RGB ...

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

How to save an image from imshow() as a .jpeg?

I am creating an RGB image and displaying using imshow(). Once the image is displayed, if I save the image as .jpeg, it gets a w...

nästan 6 år ago | 2 answers | 0

### 2

answersQuestion

Regenerating an RGB image from its components

I extracted the red component of an image and displayed the image with just the red component and I got the following result: ...

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

Help in troubleshooting a code

f=imread('Image.jpeg'); red=f(:,:,1); [r,c]=size(red) z=zeros(r,c); for i=1:r for j=1:c z(i,j)=dec2hex(red...

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

Compare matrices from different programs

I have two matrices created from two different programs. Matrix A from program A and matrix B from program B. The matrix sizes a...

nästan 6 år ago | 2 answers | 0

### 2

answersQuestion

Separate the digits in a hex number

I want to use the digits from hex numbers as indices to a lookup table. Eg: if the number is A9, A corresponds to the row of the...

nästan 6 år ago | 2 answers | 0

### 2

answersQuestion

Using imported lookup tables from Excel

I am new to Matlab and want to use lookup tables. Using the Matlab help on lookup tables I found the following code to import a ...

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

Remove space around generated image

I am encrypting an image and have generated the encrypted image matrix of dimension (183x275x3). But when I display the image (s...

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

Multiple outputs for the same function

I am using a function in my code whose output needs to be assigned to different variables as per the input variable that I pass ...

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

Troubleshooting a 'for' loop code - help!

This is my code - <</matlabcentral/answers/uploaded_files/69562/Screen%20Shot%202017-02-11%20at%201.58.46%20PM.png>> The ...

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

Logical left shift and truncate bit length

I need to convert a decimal number to binary and perform a left shift operation. Ex: If the decimal is 135, its binary is '10...

nästan 6 år ago | 1 answer | 0

### 1

answerQuestion

Problem with decimal to binary conversion

I am using dec2bin() to convert '87' to its binary value. The function is returning '01010111'. I can't understand this output s...

nästan 6 år ago | 2 answers | 0

### 2

answersQuestion

Refer to elements in a matrix

I have a 16 x 16 matrix defined and I need to pick the elements from this matrix based on some other numeric data that I will be...

ungefär 6 år ago | 2 answers | 0

### 2

answersQuestion

What do you mean by 'image is decomposed into vectors'?

I am reading through a paper (attached) which is on encrypting images through Vector Quantization. I want to know the meaning of...

mer än 6 år ago | 0 answers | 0