Community Profile

KALYAN ACHARJYA

Last seen: 2 days ago Active since 2017

#Image Processing
#Learner Alma #TezpurUniv

All

Content Feed

View by

I need to plot the following script. But it gives an error.
Fw=1./(cos(w*Hs/Vs_soil));

2 days 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...

9 days 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...

9 days 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); ...

9 days 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

16 days 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...

16 days 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

16 days 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 ...

3 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 ...

3 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...

3 months ago | 0

FFT of Signal doesn´t work well
xabs(2nd Plot) is the absolute of fft ??

3 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...

5 months ago | 0

Is there a way to automatically extract the first and last number in a for loop?
So my question is, is there a way to automatically extract the first and last number in the sd column and place them- Just stor...

5 months ago | 0

Segmentation of multiples ecg signals
First Part: load ecg_data_file Read the y axis data (mV) as another column data & store in new variable, say ecg_data. The ti...

5 months ago | 0

I have an image ( bit it has a ‘spotty’ appearance). Can you help restore it to a less spotty state

5 months ago | 0

dsolve for multiple plots on a single figure
Using Loop A = 2; % cross-sectional area (m^2) T = 0.1; % integral time c...

6 months ago | 0

How do I select the particular region of the segmented image in MATLAB
Possible: Convert the image to binnary & trace the region?? If you can perform an operation on a binary image, its indexes can a...

6 months ago | 0

how to save the data in csv file from the plot
Options: The plot is a figure, you can save as Matlab .fig files (Use save as option) Save the figure plot result as an image ...

6 months ago | 0

Given a linear system i want to do Gauss-Seidel iteration.But getting error.Would appreciate if anyone fix me the code. Thanks.
No coding syntax error x(1)=1.5; y(1)=-1; z(1)=1; iter(1)=0; for n=1:4 iter(n+1)=n; x(n+1)=(16+3*y(n)-2*z(n))/8; y...

6 months ago | 0

Yes it's OK, horizontal concatenation x=[x,3] Example: >> x=1:4 x = 1 2 3 4 >> x=[x,9:12] x = 1 ...

6 months ago | 0

| accepted

Image pre-processing to remove noise
Absolutely possible, you can remove the white pixels based on area (Extract objects from binary image by size) and do some AND o...

6 months ago | 0

| accepted

I want to Generate Chirp Signal
See the MATLAB inbuilt function, you need to change the properties only https://in.mathworks.com/help/signal/ref/chirp.html

6 months ago | 0

How to write loops within loops for a function.
Vs = 8:-0.1:7 o/p: 8 7.9 7.8 7.7 7.6 7.5 7.4 7.3 7.2 7.1 7 Hoe you can do the ...

6 months ago | 0

| accepted

xlswrite() to write to csv file not working
You are trying to save in CSV, Prefer this one https://in.mathworks.com/help/matlab/ref/writematrix.html

6 months ago | 0

Matrix dimension conversion for image input layer
Sir, you can convert the size of the image from 2D to 3D using the following way (The image isualization is not affected) ori_i...

6 months ago | 0

sum of array by specific index value
result=sum(second_arary(first_array)) More result=sum(hasil_tambah_array(index))

6 months ago | 0

Image pre-processing to make pixels in one straight line
Yes, you can do that multiple ways Get the two highest-spaced white pixels in the image, column numbers (left column and right ...

6 months ago | 0

| accepted

HSV color assignment depending on the height of the corresponding histogram bin
If you use less than & equal (both inclusion), it may be cover the entire image. e.g if h_level>0.75 & s_level>0.75 pixel...

6 months ago | 0