# KALYAN ACHARJYA

#Image Processing #Learner Alma #TezpurUniv Insta: @simmpleness_human

**Statistics**

RANK**38**

of 250,323

REPUTATION**4,373**

CONTRIBUTIONS

**15** Questions

**1,956** Answers

ANSWER ACCEPTANCE **
80.0%
**

VOTES RECEIVED**479**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

RGBto XYZ CIE 1931 Code

Here CIE_image=rgb2xyz(RGB_image); Matlab Doc: Here

12 hours ago | 0

how to save a figure plotted with matlab with best quality in .ppt or .pdf file?

One way: https://in.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-and-resolution.html

12 hours ago | 0

I want to divide every column element . for example 1nd element with 2nd then 2nd with 3rd and so on

#data is a column/row vector data1=circshift(data,[0 -1]); temp=data./data1; #Ignoring last element, as devide present by nex...

19 hours ago | 0

| accepted

How can I plot a reverse x-axis on the same graph?

#Convert to strings x=[0 1 2 3 4 3 2 1 0]; y = 2*x; plot(y); data=string(x); set(gca,'xtick',1:length(x),'xticklabel',data...

20 hours ago | 0

Smoothing a noisy signal

%% how to create a noisy data x = 0:0.1:20; %creating a dummy data y = sin(x); %finding a sine of the variable x n = randn(1,...

1 day ago | 0

loading text file in vector columns

May be no file "111.txt" exist in the current working directory. Please check again & confirm? exist('111.txt','file')

3 days ago | 0

how to plot different R0 value in single graph

for i=1:length(...) Ro= ..%One data change, which allow to change the Ro, note that it must be an 1D array R=p*b/(b+...

3 days ago | 0

Erlang distribution n=50 , m= 5; 6; k= 5; 9

Please set the typical values t=....; m=...; k=....; erlang_dist=t.^(k-1).*exp(-t/m)/(m.^k.*factorial(k-1)); plot(t,erlang...

3 days ago | 0

PIXEL counting at grey scaled picture

%Using Histogram (Considering 256 Levels) [counts,binLocations]=imhist(grayImage); pix_counts=sum(counts(200:end)) ## %% 2nd...

3 days ago | 0

| accepted

Object Segmentation using SegCaps

You can implement on any tool as per your expertise. Here is the complete reference in python (Just the reference) Reference Li...

4 days ago | 0

| accepted

Check numbers in a 5x5 array

Sufficients Hints: #Check all the elements within 1 & 25, use logical statement to avoid loops result=data>=.... & data<=.......

14 days ago | 0

How can i put in matrix data into cell array?

Cell array for i=1:length(matrix_data) cell_data{i}=matrix_data; end Detail?

15 days ago | 2

| accepted

how can i name my output and display it?

#Check Pt array size? Use ; for column vector or use traspose in the table data. T=table(ln,rn,Pt','VariableNames',{'From Bus'...

16 days ago | 1

| accepted

Average intensity of pixels

#One Way: Segmentation and useing Mask im_original=read the image considering RGB Image im_binary=imbinarize(rgb2gray(im_origi...

16 days ago | 0

How to store data in cell array?

Just traspose the cell array, let's data is a cell array then- new_data=data'

16 days ago | 0

Plotting average value with max-min area

c_color=['r','m','y']; for i=3:-1:1 p=Cn_range(i,:); plot(p); area(p,'FaceColor',c_color(i)); hold on; end...

2 months ago | 0

How can I store user input

There are multiple ways (Any One) Store the r and c variable data in text file or other files, like excel (see save function) ...

2 months ago | 0

I need to plot the following script. But it gives an error.

Fw=1./(cos(w*Hs/Vs_soil));

2 months ago | 2

how to extract objects from an image after filling in the objects in the binary image

Original BW image BW_result=bwareafilt(BW,2); % Get the largest 2 max size objects result=~(BW_result.*BW); % Nand Logical Op...

2 months ago | 0

How can I find a number from a matrix, which is greater than and closest to 1.

Hints: Use logical indexing Get the data those are greater than 1: mat>1 Subtract 1 from all elements of the matrix - mat-1 G...

2 months ago | 0

| accepted

can someone help me with this code? there is something wrong and I don't know what it's.

Replace all lines axis ([th0 thl -inf inf]); More figure plot (th0:dth:thl, wBD , th0:dth:thl , alBD/100 ,'lineWidth', 2); ...

2 months ago | 0

how to plot columns of two matrices against each other?

mat1=... mat2=... for i=1:7 plot(mat1(:,i),mat2(:,i)); hold on; end

2 months ago | 0

Matlab Matrix plot from a for-loop

pi_aprox=zeros(1,30); n=6; g2n=zeros(1,30); U_neue=zeros(1,30); g2n(1)=1; for i=1:30 U_neue(i)=n*g2n(i); pi_aprox...

2 months ago | 0

Adding a filter to only white regions of image.

result_image=gray_image.*bw_image; %Now you can apply the filter on result_image

2 months ago | 0

| accepted

sort output of roots or residue so that the repeated roots occur together

>> data=roots([1 8 38 88 121]) data = -2.0000 + 2.6458i -2.0000 - 2.6458i -2.0000 + 2.6458i -2.0000 - 2.6458i ...

5 months ago | 0

how to get Y Value from a plot having 3 curves as shown in figure?

I have assumed that you have the 3 data for three individual plot, with respect to same x values, let say y1,y2,y3 for the same ...

5 months ago | 0

Manipulation of certain matrix elements which meet a certain criterion

mat=randi([-5,5],[100,100]); % Sample Matrix [r,c]=find(mat(10:15,11:13)<0==1); % Get the indices mat(9+r,10+c)=x; % x Manupu...

5 months ago | 0

Determining mean and creating a bar chart in Matlab

load LabelTable.mat % Extract data % ID 1 Animal_ID_1 = T(T.Caller_ID==1,:); % ID 2 Animal_ID_2 = T(T.Caller_ID==2,:); % I...

7 months ago | 0