Community Profile

photo

KALYAN ACHARJYA


1,050 total contributions since 2017

#Image Processing
#Whatsapp+91-8387942066
#Alma-mater Tezpur University India

Contact

KALYAN ACHARJYA's Badges

  • Thankful Level 3
  • Guiding Light
  • 12 Month Streak
  • Knowledgeable Level 4
  • Revival Level 2
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
making volume from multiple slices
result=cat(Depth_size,slice1,slice2,slice3....); Depth_size must be same as number of slices to be add Say 3 slices then res...

16 hours ago | 0

Answered
mixing 16 matrixs in 48 lines
After the code, you can add the following to extract the 3x6 sub 16 matrices from Q2ibar, and save them all in cell array mat, w...

17 hours ago | 0

Answered
creating matrix from a vector
let's suppose I have this vector v=[0; 0; 4; 6] and I want to create a matrix such that X=[0,0,0; 0,0,0; 4,4,0; 6,6,6] %...

19 hours ago | 0

Answered
How to solve this error?
Save the function file in different MATLAB script and ensure that filename must be same as function name, that is jcoMatrix.m ...

19 hours ago | 0

| accepted

Answered
array of mean from array
One line with blockproc data=magic(400); result_mean=blockproc(data, [40 40], @(x) mean(x.data(:)));

1 day ago | 1

Answered
How do I get rid of these >> symbols when writing fprint?
fprintf('Average temperature during SF summer months is %.2f\n', avgSFSummer); or More New Line Gap fprintf('Average temperat...

1 day ago | 0

| accepted

Answered
Using if function for 'for statement'
X=0:0.1:3; % Define X as per requirements for i=1:length(X) if X(i)<0 break; else % do operation to ge...

1 day ago | 0

Answered
Shifted Stairstep graphs in a single figure
Is this? for j=1:100 stairs(j:j:100); hold on; end Or for j=1:100 stairs(j:j+1:100); hold on; end

3 days ago | 0

Answered
How Huffman Key is getting generated in this
How Huffman Key is getting generated in this? Is this? function [key] = keyGen(n) n = n*8; bin_x = zeros(n,1,'uint8'); r = ...

3 days ago | 0

Answered
Find the index value
>> array_data=2:3:30 array_data = 2 5 8 11 14 17 20 23 26 29 Case 1: I assumed you are look...

7 days ago | 0

Answered
while loop question about the count
I am wonder how can I make e become a change number because when I running my code e is always equal 5 even I changed my enter n...

8 days ago | 0

Answered
how to extract the structure array from a cell array
Suppose you hace cell array data={ struc array1 struc array2 struc array3.....} If you want to extract struc array2 then.. re...

9 days ago | 0

| accepted

Answered
How to use the index of a matrix using Unique function to alter a second matrix?
how do I apply the index to make B = [ 1, 8, 13, 2] >> B=B(indx) B = 1 8 13 2 Code: A = [ 2 5 9 3 5 ...

12 days ago | 0

Answered
Plot mean as a green line width of 3
This? subplot (3,4,1),plot (y,'g','linewidth',3); I assumed y as a mean

12 days ago | 0

Answered
plotting: making an array out of values made in a for loop?
R=.5; %m L=1.25; %m H=.25; %m N=100; phi=zeros(1,N); theta=linspace(0, 4*pi, N); for i=1:N fphi=@(phi) R*sin(theta(i)) + ...

12 days ago | 0

Answered
finding an array of roots?
Is this? R=.5; %m L=1.25; %m H=.25; %m N=100 phi=0; theta=linspace(0, 4*pi, N); for i=1:N fphi=@(phi) R*sin(theta(i)) + ...

12 days ago | 0

Answered
decreasing point on curve
One way: Find the y, when y(i)<y(i-1) (First Case) iterate i from 2 to end Second way: data=y(i+1)-y(i); %Create the data, t...

13 days ago | 0

Answered
Why the I is always a constant
Befor answering the question, It seems you are messing with code and logic, if yes, figure out. Now the answer of the question ...

14 days ago | 0

Answered
Index in position 2 is invalid. Array indices must be positive integers or logical values.
for ky=-6:0.1:6 for kx=-6:0.1:6 f(10*ky+61,10*kx+61)=exp(i*10^(-16)*(2.16*(n+m)*kx+1.245*(n-m)*ky)) I(10*ky+61,...

14 days ago | 0

Answered
Function that converts Celsius to Fahrenheit and prints it to a file
Error in CelToFar (line 7) Far=((9*Cel/5)+32); Here it is- I assumed you pass the single aruments (scalar) at a time, if large...

14 days ago | 0

| accepted

Answered
Counting values between values in array
A=123; B=129; result=sum(find(var==A | var==B))

14 days ago | 0

Answered
Matrix dimensions error for adding noise vectors
The issue is here, you are trying to add different sizes matrices in the following line- new_sound_array=y+x1+x1; Where >> w...

14 days ago | 0

| accepted

Answered
how to do convolution Of this x1 and x10 function ?
result=conv(x1,x10); plot(result); Please do all other axes labeling and title

14 days ago | 0

| accepted

Answered
Add columns into one column with each run
"Add columns into one column with each run" F=rand(10,1); [r c]=size(F); num_of_colm=10; % mention how many column you want t...

14 days ago | 0

Answered
Vector dimensions not right
As already @Walter sir specified, you did not provide us the "t" data, here I have assumed the t data as same as t2 Please assi...

14 days ago | 0

| accepted

Answered
How to express this function?
function y=test1() T=3; W=pi; t=0.01:10 y=10*exp((-t./T).*sin(W.*t)) end Or Direct T=3; W=pi; t=0.01:10; y=10*exp...

14 days ago | 0

| accepted

Answered
can someone tell what is happening in here are we assigning values to an array or what?
Is there any issue? I think no? nx=nx+1; % nx updated with 1 and replace the present nx value Following is the assigning out...

14 days ago | 0

Answered
plotting a moving object
Is this? x0=0;y0=0; x1=15;y1=8; v=1; px=0; py=0; t=0.1; dist=0; for i=1:1:x1 dist(i)=sqrt((x0-(t.*v)).^2 +(y0-(t.*v...

15 days ago | 0

Answered
I need to generate an array where the elements in the array are the sum of the indices... I am quite lost with the nested for loop aspect... please assist if possible.
% If m = 12, and n = 13 then the final solution should be a 12 x 13 matrix with the min value being 2 and max value being 25 fu...

15 days ago | 1

| accepted

Answered
The if loop is continuing even after the condition is false.
It's seems perfectly working: >> RS RS = Columns 1 through 12 0.2217 0.2226 0.2235 0.2244 0.2252 0.2254...

15 days ago | 1

Load more