Community Profile

# KALYAN ACHARJYA

1,263 total contributions since 2017

#Image Processing
#Whatsapp+91-8387942066
#Freelancer

View details...

Contributions in
View by

How to save image with its original name?
Please see this example, you may able to fix it Images=dir('C:\Lab\Hand stage 4\*.png'); % Complete path outDirectory='C:\Lab...

16 hours ago | 0

| accepted

index exceeds array bounds
#You already defined those constant or coefficients data, hence no need to ask again as inputs. % mass spring damper system m...

16 hours ago | 0

for loop inside a if else loop
In each iteration code store the p2(i, j) element. After the loop execute, you may use unique function, ?? result=unique(p2); ...

21 hours ago | 0

Sum two arrays using logical indices
c=a.*(a_logical)+b.*(b_logical) c = 1 3 4

21 hours ago | 1

| accepted

Matrix Dimension does not agree when using ==
May be both Image having different size. Please make them same size and type and do compare. Use this way isequal(I1,I11) W...

1 day ago | 1

| accepted

how to get exact pixel value of the point marked in pen
Steps: Use loop to call one by one image Read the image (RGB2GRAY) / For Color thesoholding RGB2GRAY is not required Segment...

1 day ago | 0

| accepted

Normalize y axis in Matlab histogram2 Percentage
This example gives you the hints, just divide the y with total elements ran_data=randi(15,[1 150]); % Just random data [resul...

1 day ago | 0

How to store each for loop array values in avariable?
ret=[]; for n=1:b(2) ret=[ret P1*P2(n)] end

2 days ago | 1

| accepted

How to raise a matrix to multiple powers 0 to 100.
mat=..?? % Define the given Matrix mat_result=cell(1,100); for i=1:100 mat_result{i}=mat.^i; end

2 days ago | 0

Error: Index in position 1 is invalid. Array indices must be positive integers or logical values
Here is the issue? In first iteration, when i=1; temp_data=data_final(find(data_final(:,2)==i),:); Does not find any data, wh...

3 days ago | 1

| accepted

How to crop detected face part?

3 days ago | 1

Finding the minima or maxima point on a graph
You can find local min islocalmin (first return array) or #Example x=1:100; c=2; m=3; y=m*x+c; data1=find(y==min(y)...

3 days ago | 0

What is the meaning of this line?
"why 2 times sumX2 and what is the purpose of using 2times and can anyone do let me know?" sumX2=sumX2+... Here sumX2 updated ...

3 days ago | 1

| accepted

Plotting only highest peaks from multiple signals
fs = 2e3; t = (0:1/fs:1-1/fs)'; A= sin(2*pi*19*t); B= chirp(t-0.6,61,t(end),603,'quadratic'); C=cos(2*pi*19*t); peakSig= ma...

3 days ago | 1

Search subarray closest other array
One way: A = [4, 5.5, 7, 8.1, 1, 5, 6, 7, 8, 9]; B = [5.5, 6.2, 7, 7.9]; for i=1:length(A)-4 result(i)=sum(A(i:i+3)-B); ...

3 days ago | 0

| accepted

Integration over function between two limits
syms x f_x=@(x) sin(x) q = integral(f_x,0,pi)

3 days ago | 0

matrix summation inside loop
#Without Loop Recomended syms i F_result=symsum((cos(q1)+cos(q2))*i,i,1,100) More detail, please check here কল্যাণ :)

3 days ago | 0

Switch case transition statement
I assume you have multiple cases n=input('Enter the case number: '); switch n case 1 if Conditionstatemnet/If this is tr...

4 days ago | 0

The end part of a set of cell arrays without loop
aa{end}

4 days ago | 0

I want to check the list [2:N] for values that are devisible by 2 and remove those from the list, help plz
N = 10; list=2:N list(find(mod(list,2)==0))=[] Result: list = 2 3 4 5 6 7 8 9 10 list ...

4 days ago | 1

| accepted

Transfering results form one function to another one
"how i can take values from one function to another one?" Its nesting of function, just call the 1st function to the 2nd functi...

4 days ago | 0

| accepted

How do I do random integers between (100*pi and 200*pi)?
100*pi or 200*pi are not integers >> 100*pi ans = 314.1593 For randi case randi([IMIN IMAX],1); here the input must be a...

4 days ago | 0

| accepted

how to define time matlab for bar graph
ChargeTime=[14.25;14.30;14.35;14.40;14.45;14.50;14.55;15.00; 15.05;15.10;15.15;15.20;15.25;15.30;15.35;15.40;15.45;15.50; ...

4 days ago | 1

How to name point on plot?
text(x,y,txt) x,y represent the data point, see detail here

4 days ago | 0

| accepted

Compare nearby elements in array
"I have an array with around 500 x 500 elements" Please note that you have mentioned about 2-D array , Here I have considered ...

4 days ago | 1

| accepted

ASSIGNING A VALUE TO A VARIABLE
"I want to know if it is possible to write an equation containing a variable before writing down the values. e.g V = a+3, before...

4 days ago | 0

arithmatic progression in array
array_data=0:0.05:1

4 days ago | 0