Community Profile

# Pranjal Pathak

Active since 2012

I am a very cool guy!
Professional Interests: playing chess,cricket

#### Content Feed

View by

Question

Draw an array of rectangular boxes
Hi, I need to draw an array of rectangular/square boxes over an array of white spots in the attached figure: img_1 using Matl...

7 years ago | 0 answers | 0

### 0

Question

How to make a video from images
Hi, I have 3 still images saved in .png format. I would like to create a movie from these still images having control over th...

8 years ago | 1 answer | 0

### 1

Question

Shifting an array of values from one position to another
Hi, Here I am adding a Matlab code which generates an array of 2x2 circular images (dim 64x64) which here I am considering to...

8 years ago | 0 answers | 0

### 0

Question

Interpolation of an array of values having desired no. of points in between
I have an array of values (A here) of different dimension. I would like to interpolate it in Matlab in such a way that the numbe...

8 years ago | 0 answers | 0

### 0

Question

Interpolation of an array of values
Hi, I have an array of values which is not a square one(different rows have different number of elements and they are placed ...

8 years ago | 1 answer | 0

### 1

Question

Choosing Specific Elements from An Array
Hi, My problem is: I have a matrix A. From it, I want to choose only some of the specific elements and place them in anoth...

8 years ago | 3 answers | 0

### 3

Question

Generating an Array of Hexagonal Shape Pattern
Hi, Here I have added a simple code, modifying my previous post (sorry for my repost, as I am trying to make my question much...

8 years ago | 1 answer | 1

### 1

Question

Construction of Hexagonal Shape Patterns
Hi, Here I have added a particular code which generates some circular holograms: fx = 5:5:20; fy = 5:5:20; a=128; ...

9 years ago | 0 answers | 0

### 0

Question

Matrix Elements Manipulation Using Matlab
I have four matrices A, B, C and D of dimension: A=4x4; B=4x3; C=3x4; D=3x3. A=[A11 A12 A13 A14 ; A21 A22...

9 years ago | 2 answers | 0

### 2

Question

Solving Mathematical Relation Having If and Else Statement in Matlab
Hi, Here I am writing a mathematical relation which is needed to be solved using Matlab: N=4; j=sqrt(-1); Sx=[27 0...

9 years ago | 1 answer | 0

### 1

Question

Conversion of RGB Image into Intensity Image
Here I am adding a simple code which performs sharpening of an image: % Clears command prompt and closes all windows cle...

9 years ago | 0 answers | 0

### 0

Question

Creating Graphical User Interface for a Code
Hi, Here I am adding a simple code: mx=20; my=5; [x,y]=meshgrid(-1:2/127:1, -1:2/127:1); circ=sqrt(x.^2+y.^2)<1; H=c...

9 years ago | 1 answer | 0

### 1

Question

How to run two for loops
Hi, Here is a matlab code: ******************************* fx = 2:2:2^5; fy = 2; a=128; b=128; c=512; [x,y] = me...

9 years ago | 1 answer | 0

### 1

Question

How to plot using all the for loop values
Hi, Here I am pasting a simple code which does a simple integration from - infinity to + infinity: syms x C=1;D=1;E...

9 years ago | 2 answers | 0

### 2

Question

How to plot a 2D graph using all the for loop values
Hi, I have the following equation to be plotted in Matlab: *************** alp=1; K=1; E0=1; for w=-20:1:20; ...

9 years ago | 1 answer | 0

### 1

Question

How to do 2D array interpolation
Hi, I have a 2d array of values of dimension 4x4, and I would like to do a bilinear interpolation upto a dimension of 1024x102...

9 years ago | 1 answer | 0

### 1

Question

To take the partial derivative of a function using matlab
Here is a particular code. Can anyone please help me in taking the analytical (partial) derivative of the function 'F' along X ...

9 years ago | 3 answers | 1

### 3

Question

Problem in running the following code
Can anyone please help me to run the following matlab code? EDIT: formatted code [the cyclist] % This function reconstr...

9 years ago | 0 answers | 0

### 0

Question

How to select a particular portion of an image and take Fourier transform
Hi, I have a problem in the following code: % Binary Hologram & Its Corresponding FT mx=20; my=0; [x,y]=meshgrid(-1...

9 years ago | 1 answer | 0

### 1

Question

Change the sign of a particular element in a matrix
Hi, I have a problem in the following matrix: A=[ -1 1 0 0 0 0; 0 -1 1 0 0 0...

9 years ago | 2 answers | 0

### 2

Question

To take the Fourier transform of a spectrum
Hi, I have a foll. data set. When I plot it in Matlab, I get a particular spectrum. Upto here, it is fine. But how to take the ...

9 years ago | 1 answer | 0

### 1

Question

How To Generate A Gray Level Exponential Decay Image Using Matlab.
Hi, Can anyone help me in generating a gray level exponential decay image(suppose decaying with time) using matlab? The limit...

10 years ago | 1 answer | 0

### 1

Question

To Find The Centroid Of Images Using Matlab
Hi, Below I am placing my code where I need some help to proceed further. fx = 3.5:3.5:56; fy = 2; a=128; b=128; c=512; ...

10 years ago | 1 answer | 0

### 1

Question

symbolic Integration in Matlab
Hi, Can anyone help me out in solving the foll relation having integration using Matlab: S=2*v*Im[{int, 0 to 1(exp(j*b*R1)...

10 years ago | 2 answers | 0

### 2

Question

How To Execute "if-else" Statement.
Hi, I am having problem to execute an "if-else" statement in matlab of the foll. eqtn. Xc=sum(i:1 to 3)sum(j:1 to 3)...

10 years ago | 0 answers | 0

### 0

Question

How To Calculate Double Summation In Matlb
Hi, Can anyone help me in performing double summation of matrix elements using Matlab of the following equation: Xc=[Sum(i...

10 years ago | 1 answer | 0

### 1

Question

How To Find The X & Y Shift Of An Image
Hi, I need some help regarding the following code: fx = 3.5:3.5:56; fy = 2; a=128; b=128; c=512; [x1,y1]=...

10 years ago | 0 answers | 0

### 0

Question

To Place An Image One Above The Other With The Transparency Provided
Hi, I have a problem in the following code: % Frequency Of The First Row fx1=3.5;fy1=2; fx2=7;fy2=2; fx3=10.5;f...

10 years ago | 0 answers | 0

### 0

Question

To Place An Image Over The Other
Hi, I have a problem with the following coding: % Frequency Of The First Row fx1=3.5;fy1=2; fx2=7;fy2=2; fx3=10...

10 years ago | 1 answer | 0

### 1

Question

To Run A For-Loop
Hi, Here is a coding where fx1 to fx16 is varying in steps of 2 and fy1 to fy16 is constant(2). Can anyone help me in writing...

10 years ago | 1 answer | 0