Community Profile

photo

KALYAN ACHARJYA


Last seen: 6 giorni fa Attivo dal 2017

Alma #Tezpur University Assam

Professional Interests:

Statistics

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

Visualizza badge

Content Feed

Risposto
How to iterate over multiple vectors or using a function to draw multiple vectors without using the same piece of code again and again?
% FEC = 3.8x10^-3 % % For Phi/Psi = +/-10 CoverageArea_mean_10 = {[84.4735,21.1779,6.4247,2.1416],[45.2112,8.8043,1.1898,0]}; ...

8 giorni fa | 0

| accettato

Risposto
Any one give me the solution of this question or guide me how to solve this problem.
Is this: Manually as asked for data=randi(255,[3,3]); pad_data=zeros(5,5); pad_data(2:end-1,2:end-1)=data Using function pad...

9 giorni fa | 0

Risposto
How to identify sensor patterns?
"The Problem is when i run this code, the count does not increment when the object passes the two sensors" If this is the case,...

21 giorni fa | 0

Risposto
how to resize the image
"I would like to increase the size of the image. How can I do that?" imresize https://in.mathworks.com/help/matlab/ref/imresiz...

26 giorni fa | 0

Risposto
I would like to create a subfolder without numbering
Just remove %d new_folder = fullfile(folder_DATA, sprintf('%s', name_SF)); If you're generating a single folder, that's fine,...

26 giorni fa | 0

| accettato

Risposto
Getting following error while making Contourf plot [ Error using contourf Z must be at least a 2x2 matrix]
You may be look for other data visulization options, as its a 3 column data e.g stem3, scatter3 or plot3 In mesh, surface, c...

26 giorni fa | 0

Risposto
Generate a state space matrix of longitudinal dynamics of an aircraft and determine it's transfer function
If you check the Transfer fuction MATLAB docs, its clearly states that the values of the "Numerator" and "Denominator" propertie...

27 giorni fa | 0

Risposto
generate an x-matrix at every iteration by for loop
for idx=1: 2000 H=sqrt(0.5)*(randn+1i*randn)*(1/sqrt(2)); % my H %cdf=... end #If you wish to save all generated ...

circa un mese fa | 0

Risposto
How can I plot this signal?
gm = 0.04; RL = 10000; CL = 10^(-9); f = logspace(-1,2); Av = (-gm*RL)./(1 + RL*CL*f*1i); %magnitude subplot(2,1,1); logl...

circa un mese fa | 0

Risposto
extraction of the bright blob
grayImage=imread('image_test11.png'); bw_Image=imbinarize(grayImage,0.99); % Change threshold as per desired output biggestBlo...

circa un mese fa | 0

| accettato

Risposto
Iterating an equation through a range of values to satisfy a condition
Sufficint Hints: X = 11:increment spacing:15; % Initiate the loop. check the increment spacing Y = 1; V_i = 1; % Random ini...

circa un mese fa | 0

Risposto
How to generate H-matrix at every iterations using for loop i
Hint: using For Loop for i=1:5000 H=sqrt(0.5)*(randn+1i*randn)*(1/sqrt(2)); end If you want to store the H in each it...

circa un mese fa | 0

| accettato

Risposto
histogram from binary image
What does histogram mean: it counts the number of pixels as per pixel values. Binary number has only 0 and 1 pixel, lets have ex...

circa un mese fa | 0

| accettato

Risposto
Determining pixel clarity in different images
Image clarity and quality is a subjective topics. There are several ways you can evaluate the quality metric of an image. Are yo...

circa un mese fa | 1

Risposto
Angle between two 3D vectors
"I need to calculate angles between vector st_direction and each column vector from A matrix, for example:" st_direction =[0.63...

circa un mese fa | 1

Risposto
Plotting a multivariable function
a_ft=28000; v_cal=0:500; CaltoTrue(a_ft,v_cal) function v_true=CaltoTrue(a_ft,v_cal) a=a_ft*0.3048; b=-0.0065; R=287.05287...

circa un mese fa | 1

| accettato

Risposto
Using a nested for loop to create a matrix that square roots positive integers and adds 30 to negative integers.
X=[4,-5,13;19,-13,21;-33,77,144] [r,c]=size(X); Y=zeros(length(X)); for i=1:r for j=1:c if X(i,j)>=0 ...

circa un mese fa | 0

Risposto
how to make an image like this in matlab?
Pls refer the Steve Eddins blogs https://blogs.mathworks.com/steve/2015/12/14/image-based-graphs/

circa un mese fa | 2

Risposto
Saving images in .FIG format from a source code
for loop i= figure,imshow(Image_file) file_name=['image',num2str(i),'.fig'] savefig(gcf,file_name); % Set an oth...

circa un mese fa | 0

Risposto
Make a video from images in while loop
#Ensure that all images having same size & format images_data=dir('*.jpg') ; writerObj=VideoWriter('Video_test.avi'); % Chang...

circa un mese fa | 0

| accettato

Risposto
I don't know how to add the dots
x = [0 : 0.1 : 12] * pi; y = sin(x); z = cos(3 * x); figure(); plot3(x,y,z, '--d','color','b','markerfacecolor','y','markers...

circa un mese fa | 0

| accettato

Risposto
Fusion of colour PET /MRI image of brain
Important Note: Color is just an perception (Human Eye), color may vary person to person (minor changes in color contrast) There...

circa un mese fa | 0

Risposto
How to merge matrix in a loop?
% Just example A=rand(4,3); B=rand(4,3); C=rand(4,3); D=rand(4,3); data_mat={A,B,C,D}; % Created to handle data easily N=4...

circa un mese fa | 0

Risposto
Magic square (( please help))
result=2*magic(3) You have to look for any such possibility for odds too.For any random function or fixed values too, checking...

circa un mese fa | 0

Risposto
How to save the values of variables during each iteration(for loop) in a single variable?
If output is numeric use Array output=zero(1,total iteration); % Pre-allocate the variable for iter i=1:... output(i)=....Cal...

circa un mese fa | 1

| accettato

Risposto
Can anyone check my code please?
Sufficints Hint: You can also do this in efficient way, I have shown work till D1 and D2, try the rest part yourself A1=randi(...

circa un mese fa | 0

Risposto
How can I extract the numbers divisible by 3 from the diagonal of a nxn matrix composed of random integers?
n=input('Choose the number of lines and columns of the square matrix: ') A=randi([100,1000], n, n) D=diag(A) mat=D(mod(D,3)==...

circa un mese fa | 1

| accettato

Risposto
How do you write a function that imports data from an .xlsx file and saves the data as a .mat?
Load the data using readmatrix function https://in.mathworks.com/help/matlab/ref/readmatrix.html data_excel=readmatrix('file_...

circa un mese fa | 0

| accettato

Risposto
change the color of the pixels that are present in an image
It can be done in multiple ways, use morphological operations or see the regionprops function (very useful). Easyest way for spe...

circa un mese fa | 0

Risposto
Exacting a constant range/window of values from a matrix (skipping one cell each time).
data=rand(1000,1); data(25:25:1000)=[]; temp=length(data)/24; cell_data=mat2cell(data,24*ones(1,temp))

circa un mese fa | 0

| accettato

Carica altro