Community Profile

photo

KALYAN ACHARJYA


Last seen: Today
1.881 total contributions since 2017

#Image Processing
#Learner

Contact

KALYAN ACHARJYA's Badges

  • 36 Month Streak
  • Community Group Solver
  • Thankful Level 3
  • Guiding Light
  • Knowledgeable Level 4
  • Revival Level 2
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
how to form a new matrix (i.e. B) from two different matrices (i.e. a1, a2) knowing the indices of its origional matrix (indices of a)?
2nd Attempt from myside: "% Now how to form a new matrix "B" such that B = [2 4 6 8 10 12 14]; using a1 and a2" B=sort([a1,a2...

alrededor de 2 horas ago | 0

Answered
How to visualize a pixel intensity values into an image or a plot?
You can use the following function to read a txt file. readmatrix, readtable, load etc Example: data=readmatrix('post_mathwor...

alrededor de 2 horas ago | 0

Answered
Multiple conditions in an IF statement and they are not logical scalar values
Replace x with x(i) in all data, then code execute without any error. More: read about preallocation and logical indexing (MATL...

alrededor de 3 horas ago | 0

Answered
Check if Column has Correct Sequence of Numbers
Steps: 1.Create the complete Table with original data (including missing data) 2. use ismissing function to detect in Table ...

alrededor de 3 horas ago | 0

Answered
Image Segmentation and Saving image
There are multiple threads are avalible on simmilar questions, please see my answer https://in.mathworks.com/matlabcentral/ans...

alrededor de 3 horas ago | 0

Answered
Find first index that exceeds condition
"I would like to find the index and value of the 1st value > 2 after value (8)" Is this? data=[1,4,8,0,0,1,9,0,3] idx8=find(d...

alrededor de 3 horas ago | 0

Answered
How to split vector to columns based on index?
diff_data=diff(column_data); idx=find(diff_data<0) idx gives the indices of raspective array elements, where present value is ...

alrededor de 15 horas ago | 0

Answered
how to fill histogram legend markers
I tried to reproduce the same error, I did not get it data1=randi(10,[1,100]); data2=randi(10,[1,100]); histogram(data1,'Face...

alrededor de 21 horas ago | 0

Answered
Index exceeds number of array elements (1) Heuns method
Please verify (Read): Heuns Method h = 0.1; % number of steps % N = 10; y=zeros(1,N); x=zeros(1,N); x(1) = 0.1; y(1) = ...

alrededor de 22 horas ago | 0

Answered
Getting RGB values out of an image into a matrix where I can retrieve specific elements
I = imread('yellowdot.jpg'); imshow(I) A = imread('yellowdot.jpg'); Red = A(:,:,1); Till here you are doing it correctly. ...

1 día ago | 0

| accepted

Answered
Comparing and matching random portion of a two images autonomously
"need to compare two photographs of same thing at different points of time,position of objects won't change but the frame might...

1 día ago | 0

Answered
How to display the Index of a matrix to other corresponding matrices by considering relations
No need to get the indices, you can directly map as per A>=10 condition in B and C A(A>=10) B(A>=10) C(A>=10)

1 día ago | 0

| accepted

Answered
Cell to data column
Try with cell2table https://in.mathworks.com/help/matlab/ref/cell2table.html Note that the single coulmn cell data having num...

2 días ago | 0

Answered
How to select 10% of a matrix with an increment of 10% until 80%
Note that the data are overlaping in each segment as per the requirements 1st cell 1% of data 2nd Cell 10% of data 3rd Cell ...

2 días ago | 0

Answered
How to remove vertical line noise from binary image
result=bwareafilt(bwImage,2); imshow(result);

2 días ago | 0

| accepted

Answered
Are there template codes I can use to convert image to heat map?
This way:? imagesc(rgrayImage)

2 días ago | 0

Answered
I want to create a conditional function
You have not completed the Code, If you are beginner Do Google MATLAB Onramp Read about if Else, For Loop and Logical Indexin...

2 días ago | 0

| accepted

Answered
how to get the exact value?
See the Format format shortEng

2 días ago | 0

Answered
Nothing will be showing on plot
xo=0.65; x=xo; xold=x; iteration=1:22; err=zeros(1,length(iteration)); for i=1:length(iteration) x=xold; fx =x^10...

2 días ago | 0

Answered
How to find the indices of elements in an array?
[r,c]=find(matrix==min(matrix(:))) #Added Get the values matrix(matrix==min(matrix(:)))

2 días ago | 0

| accepted

Answered
How I can change the color of a small part of a white border around an image?
rgbImage=imread('Trial_with_margin.jpg'); grayImage=rgb2gray(rgbImage); [r,~]=find(grayImage==0); max_row=max(r); mid_col=ro...

3 días ago | 0

| accepted

Answered
How do I modify my code to work for odd numbers?
x=x+~mod(x,2)*5

3 días ago | 0

Answered
Removing data from matrix
One way: int_dat=[4 0 0]; A =[1 0 0;2 0 0 ; 3 0 0; 4 0 0]; [r,c]=size(A); idx=A==int_dat; row_num=find(sum(idx')==c); A(ro...

3 días ago | 0

| accepted

Answered
Iterating an array in a for loop
You can avoid loop here focal_length = 50e-02; m = 1; diameter=0.5e-03:0.5e-03:6e-03; %% Create the Wavelength Array with ...

3 días ago | 0

Answered
I want to repeat my input command and the if-else statement. The input has to be positive and must include 0 and not include inf.
cond=1; while cond==1 A=input('Enter the Code: '); if A>=0 && A~=inf B=A cond=0; else d...

3 días ago | 0

| accepted

Answered
How to calculate moving average for data
Here One way: Using Loop (As the data is 1 D) data=1:60 % Random data as per Attached sample % Lets Decided the Segment size 5...

3 días ago | 0

Answered
How do I detect and find the discolored area as a percentage of selected area
rgbImage=imread('image_file_name'); [r,c]=size(rgbImage); grayImage=rgb2gray(rgbImage); bwImage=~bwareafilt(~imbinarize(grayI...

3 días ago | 1

| accepted

Answered
Average every 3 Rows in Single Column in Table
Lets consider one Table Example LastName = {'A';'B';'C';'D';'E';'F'}; Age = [38;43;38;40;49;50]; T = table(LastName,Age); T...

4 días ago | 0

| accepted

Answered
How to separate data?
Following code remove all adata elements which are equal to 1024 result=data(~(data==1024)) Or data(data==1024)=[] More: ...

4 días ago | 0

Answered
HOW to make constant values as new colum vector with the same values in my matrix
Example: Define Constant Values const1=10; const2=4; const3=6; Create the 1D Vector with Constant Values, consider any rows...

4 días ago | 0

| accepted

Load more