Community Profile

# KALYAN ACHARJYA

##### Last seen: 12 days ago
1,553 total contributions since 2017

#Image Processing
#MATLAB Learner Alma #TezpurUniv
#Whatsapp+91-8387942066

View details...

Contributions in
View by

How to remove Horizontal and vertical lines only from an Image?
Sir I saw the image on telegram, hope I understand the question, One way is- Steps: Convert RGB to Gray Gray Image to Binary ...

25 days ago | 1

The values of the "a" and "c" properties must be matrices with the same number of columns.
Error clearly stated that A and c state-space matrices to be same number of columns to avoid this error. A=[-0.0895 -0.286 0;-...

25 days ago | 0

Trying to colour a circle but not all only one qudrant want to colour
viscircles([0,0],1); hold on; alpha=linspace(0,90)/180*pi; % Manage Angles ^^ here Quadrant angles patch([0 cos(alpha) 0], [...

25 days ago | 0

how can i run iterations?
...... while abs(new(1:3)- ep)>0.01 for i = 1 : n x(i) = (ep(1) - sat(i,1)); y(i) = (ep(2) - sat(i,2)); z(i) = (ep...

25 days ago | 0

Function writing for variable matrix
" write for this function such that when I input A, B or C at that position" Please note: In the function defination, only A is...

25 days ago | 0

| accepted

noise is added to the central region of each image
Considering im is a gray level image, and the central part of the image considered as mid section of the image as per its rows a...

25 days ago | 0

How to iterate through an array to check for adjacent elements that are equal to one another using loops.
"How to iterate through an array to check for adjacent elements that are equal to one another using loops" Here a is an 1D arra...

26 days ago | 1

How does imnoise work with poisson option?
No sir, the noise is not added yet, just you generated noise based on x data x = 2 + 2*cos(linspace(-pi,pi,100)); subplot(121)...

26 days ago | 0

segmentation using k-means clustering
Part 1 "I 'm just tried to code the segmentation part.but i am not sure is it correct or not. In segmentation work, answer wo...

26 days ago | 0

Convolution of two rectangular signals

26 days ago | 0

how to read two specific data from a folder?
If both images are in current working directory, please mention the image names only(with extension like png,jpg) im1=imread('I...

28 days ago | 0

Fit a curve along points through starting and end point
You can fit the curve in number od ways, see which tyep perfectly fit as per your expectation x_data=randi(10,[1,10])'; y_data...

28 days ago | 0

How to create a threshold on a plot?
Example: data_2d=rand(1,20); %Example threshold_val=0.5; binary_array=data_2d>threshold_val % This create a binary array b...

28 days ago | 1

Fourier Series for a Periodic Function
display('Problem 1_Example_17.1') ao=1/4; N = 100000; Wo = pi; t = -1:.001:11; f = zeros(1,length(t)); n =linspace(1,2,le...

29 days ago | 1

| accepted

Code take forever to run and output
Sir, I have tested the code with low iteration numbers, say 10 and it is working perfectly. Yes if you consider the iteration nu...

29 days ago | 0

| accepted

How to use 'drawnow' to create an animated surface plot from audio measurements taken in a matrix of 10 x 10 microphone positions
for i=1:100 data=rand(10,10); % Choose your incoming audio data here fig=surf(data); grid on; pause(0.1); % Animation s...

29 days ago | 0

Incorrect plot domain when using linspace
plot(x,y); if plot(y);

1 month ago | 0

| accepted

3d plot with different length of x and y
As per the you data sizes, following is also allowed contour3(x,y,z'); Note: I presumed that x and y are continously increasin...

1 month ago | 0

| accepted

Plotting a specific part of the array
idy1=y1(y1~=y2) idy2=y2(y2~=y1) Results: idy1 = 6 7 8 9 8 7 7 6 idy2 = 4 3 ...

1 month ago | 0

| accepted

Find distance between foregrounds of two binary images
Steps: 1.As you already know the indices of all three lines from the 2nd image. If not following is the way [r2 c2]=find(imag...

1 month ago | 0

Removing Reverse Rows in a Permutation Matrix in Matlab
P=perms([1 2 3]); result=P(unique(P(:,2)),:) result = 3 2 1 3 1 2 2 3 1

1 month ago | 0

How to detect the crack and calculate its length ?
[S T]=graythresh(grayImage); bwImage=imbinarize(grayImage,T); SE = strel('diamond',1) bwImage=imerode(bwImage,SE); bwImage=b...

1 month ago | 0

Colors and Symbols for Loop Iteration
#Example: you can set as per your requirements. color_sym={'rx','go','b-','m--'}; for i=1:4 plot(rand(1,10),rand(1,10),c...

1 month ago | 0

spot diameter in imported image
Here are the all pixels, which are greater than 13%*max image_data=rgb2gray(imread('image_test5.jpeg')); max_pix=max(image_dat...

2 months ago | 0

Using GUI to Edit Image
I am providing here the alternate option, now a days I rarely do GUI (Guide option). MATLAB have great appdesigner features, yo...

2 months ago | 1

Cell array summation when arrays are different sizes
"I am trying to some cell arrays containing matrices of different sizes stored at designated index points to arrays. See the bel...

2 months ago | 0

Save loop values in a matrix
If the resultant long and Lat are just numeric number use array to save the data Example iter=1; Long=[]; Lat=[]; while co...

2 months ago | 0

| accepted

Creating Matrix based on grouping of elements in cell array
A=de2bi(cell2mat({[1 3],[2],[4 5 6]}),6)

2 months ago | 0

quiver3 not plotting the end point
I dont find any issue, please dont mixed up with the quiver and plot3, see your example quiver3(0,2,4,2,5,7); hold on; quive...

2 months ago | 1

| accepted