Community Profile

KALYAN ACHARJYA

Last seen: Today
1,434 2017 年以降の合計貢献数

#Image Processing
#Whatsapp+91-8387942066
#Freelancer

KALYAN ACHARJYA's バッジ

Segmentation and vertical length measurements
#NonTested, but providing the steps for the same- Convert the image to binary Apply Hit and Miss Transfrom to trace the outer...

2日 前 | 0

Change column name based on another vector
See the table and set accordingly https://www.mathworks.com/help/matlab/ref/table.html

2日 前 | 0

How to convert string "26/7" into a double variable?
X = str2double(str) converts the text in str to double precision values. Text is "22/7" This is not a number right "/" . What d...

2日 前 | 0

Is it possible Matlab shows the grid on the surface of the plot?
Change the faceAlpha (within 0 and 1) value, see, it may heps you (This is transperancy) surf(x,t,abs(r1),'FaceAlpha',0.5); Or...

2日 前 | 0

How to use a loop to increase polynomial order and store results
One way hints: Start with T(1) to T(10), Matlab doesnot allow zero indexing T(1)=t^1 for i=2:9 T(i)=[T(i-1),t^i]; end

3日 前 | 0

non zero elements in matrix
[r,c]=find(mat~=0)

3日 前 | 0

| 採用済み

How can i change the positions of numbers in a matrix
sort the matrix, you will get all rows at initails of rows numbers sort(matrix)

3日 前 | 0

How to transform double to unit8
im2uint8

3日 前 | 0

Help with filling in a few pixels
See imerode with proper str element then trace. Later you have to take care this morpho operation to get the actual shape/sizes

4日 前 | 0

Plot Data into a Histogramm
"My question: Is my histogram ok?" Ans: OK, as per your data "Because i thought that in a histogram the most frequent data mus...

4日 前 | 0

Array indices must be positive integers or logical values.
keff2 = k2 .*(am2*(k1+2*k2)-2*am1*(k2-k1))./(am2*(k1+2*k2)-am1*(k1-k2)); More: p0=8.854e-12; % Membrane thickness d, cell ra...

4日 前 | 0

| 採用済み

Multiple graphs not showing
All values produce the same result, hence opvelaped. When I multiply k by rand function it shows the plots.

4日 前 | 1

How can I assign correct value for variable img_heq
img_heq=histeq(img,[0,255])

4日 前 | 0

Smith Diagramm in matlab/octave
axis off; Or Also you can set the axes properties , like set(...) or axes('Color','none','XColor','none');

22日 前 | 0

how to remove Outermost semicircle on the grayscale image?
mask=bwareafilt(~imbinarize(grayImage,0.8),1); grayImage(~mask)=255; imshow(grayImage);

24日 前 | 0

| 採用済み

How to show all figure in lopping to only only one figure?
"How to show all figure in lopping to only only one figure?" #Example figure, for i=1:10 data=rand(1,20); subplot(...

how to random initialize svd function in matlab??
data_test=magic(3); [U,S,V]=svd(data_test) Result U = -0.5774 0.7071 0.4082 -0.5774 0.0000 -0.8165 -0....

Can anyone help me to solve my last line matlab error? When I use haar transfrom, it works perfect, but when I use db2, the last figure could not come, please help.
It's the issue with concanatation (Dimention Mismatch) , Here I have choosen one test image to check. Lets simply to get the iss...

| 採用済み

How to replace a column in a text file with time and plot a graph from it?
Please note: It should be column vector data = load('test1.txt'); data(:, 1) =[0:0.0001:60000]';

How can I plot this discrete recursive function?
function pop=discrete_logistic(time) r = 1; K = 1000; N0 = 0.1; if time==0 pop=N0; else pop=discrete_logistic(tim...

| 採用済み

plot median of a vector from several seperate fodlers
figure; hold on; M=zeros(1,40); for fileidx = 1:40 filedata = load(fullfile('F:\Simulationsergebnisse\Generationen_FMUOneHea...

| 採用済み

Eliminating duplicated values in a cell Array
S = {'ABS' ; 'First'; 'input'; 'ABS'}; result=unique(S) result result = 3×1 cell array 'ABS' 'First' 'input...

How can I find center coordinates of six black rectangles in a image with HitMiss transformation?
bwImage=imread('semafor.bmp'); result=bwareaopen(~(bwImage | bwareafilt(~bwImage,1)),50); imshow(result); Now get the ind...

| 採用済み

What is the difference between a weighted mean filter and an alternative mean filter in low pass filtering?
As per my undestanding, in weigthed mean the mask coefficients are not "1"

"machine learning implementation in matlab"
TO calculate the energy, here is the best Matlab documentation. Steps: FFT Calculate the Average Power Sum up for particu...

| 採用済み

Seperate rows in matrix based on values of the elements.
for i=1:length(unique(A(:,1))) mat{i}=A(A(:,1)==i-1,:); end result=cell2mat(mat) out1=reshape(result(1,:),[2,3])' % Use loop...

| 採用済み

How to create grating diffraction pattern.
x = linspace(-50, 50, 500); lambda = 632.8e-9; % m D = 1; % Distance to the observati...

| 採用済み

how to differentiate this equation
syms s theta_D=diff(theta,s); theta_2D=diff(theta,s,2); %or theta_2D=diff(theta_D,s); diff

How can i make an image from a .mat file?
The data n=7544x53 double, which is shown in the figure as per data size, if the data have more columns then it may be show more...

Need help to debug code
#Need help to debug code There is no coding error. function [x1]=tutorial1(x0,nMax,tol) % for loop acting continously for 15 ...

Load more