515 total contributions since 2013

#Freelancer (Part-Time)

#Image Processing

#Alma-mater Tezpur University India

Answered

How to draw equally sized squares

x=[-1, 1, 1, -1, -1]; y=[-1, -1, 1, 1, -1]; plot(x, y, 'r-'); fill(x,y,'b') hold on; r=1.0; th=linspace(0,2*pi) ; x=r*cos...

How to draw equally sized squares

x=[-1, 1, 1, -1, -1]; y=[-1, -1, 1, 1, -1]; plot(x, y, 'r-'); fill(x,y,'b') hold on; r=1.0; th=linspace(0,2*pi) ; x=r*cos...

5 hours ago | 0

Answered

Calculating Error and intercept on a log plot

ERROR Error using fit>iFit (line 127) X must be a matrix with one or two columns. Error in fit (line 108) [fitobj, goodness,...

Calculating Error and intercept on a log plot

ERROR Error using fit>iFit (line 127) X must be a matrix with one or two columns. Error in fit (line 108) [fitobj, goodness,...

2 days ago | 0

| accepted

Answered

How obtain coordinates of pixels within bwboundaries for each object?

Code for find the pixels of two withe segmented objects (Larger is object1 and circular object2) %Image raed, ensure that ima...

How obtain coordinates of pixels within bwboundaries for each object?

Code for find the pixels of two withe segmented objects (Larger is object1 and circular object2) %Image raed, ensure that ima...

2 days ago | 0

Answered

algorithm for bwmorph(BW,'skel',Inf)?

Have you check in Matlab documentation, check here? You will get little idea of skel. Also you can check here, where two name o...

algorithm for bwmorph(BW,'skel',Inf)?

Have you check in Matlab documentation, check here? You will get little idea of skel. Also you can check here, where two name o...

16 days ago | 0

Answered

Second Order ODE Error (Error in ode45 (line 115))

In the function file following line q is not defined ceq = sqrt(q*m*alpha*Fo/m/3/pi);

Second Order ODE Error (Error in ode45 (line 115))

In the function file following line q is not defined ceq = sqrt(q*m*alpha*Fo/m/3/pi);

16 days ago | 0

Answered

fsolve will not work on my machine

Do the following; Save the function named as test.m function F=test(x) F=2*x+1; end 2. Call the function from diff...

fsolve will not work on my machine

Do the following; Save the function named as test.m function F=test(x) F=2*x+1; end 2. Call the function from diff...

16 days ago | 0

Answered

How can I fix this Imrotate error in my program?

imrotate(I, 180); Where I must be image, But in your case you rotatinng the I_graycolor= imshow(I_graycolor,map); figure window...

How can I fix this Imrotate error in my program?

imrotate(I, 180); Where I must be image, But in your case you rotatinng the I_graycolor= imshow(I_graycolor,map); figure window...

16 days ago | 0

Answered

please ineed help for this "Load the image ‘cameraman.tif’, find its dimensions and number of channels and display it."

img = imread('cameraman.tiff'); % Read the image [rows, colm, dim]=size(img); Here rows and clom gives the number of rows and ...

please ineed help for this "Load the image ‘cameraman.tif’, find its dimensions and number of channels and display it."

img = imread('cameraman.tiff'); % Read the image [rows, colm, dim]=size(img); Here rows and clom gives the number of rows and ...

17 days ago | 0

Answered

error in test the retrain image

As you have use the following assignment inn function file img = imresize(img, [224, 224]); This way applies to grayscale ima...

error in test the retrain image

As you have use the following assignment inn function file img = imresize(img, [224, 224]); This way applies to grayscale ima...

18 days ago | 0

Answered

how to display different features with different color edges on a original image ?

I read your question two times, still If misundestood the question, let me know, I will delete the answer. I am doing here for...

how to display different features with different color edges on a original image ?

I read your question two times, still If misundestood the question, let me know, I will delete the answer. I am doing here for...

18 days ago | 1

| accepted

Answered

encoding NRZ polar as square wave ?

Note: This same can be easily done without using for loop (recomended), but first try to understand the issue, where you did wro...

encoding NRZ polar as square wave ?

Note: This same can be easily done without using for loop (recomended), but first try to understand the issue, where you did wro...

18 days ago | 0

| accepted

Answered

How to use matlab fuction in simulink

Save the following function file in same working directory (save file same name as fuction CalculPhases.m) function Phases =Cal...

How to use matlab fuction in simulink

Save the following function file in same working directory (save file same name as fuction CalculPhases.m) function Phases =Cal...

23 days ago | 1

| accepted

Answered

How to compare or find out the P.S.N.R. value of two image.

For Gray level images, there are inbuilt psnr function there. For color image you can do the way PSNR_value=PSNR_rgb(noisyImag...

How to compare or find out the P.S.N.R. value of two image.

For Gray level images, there are inbuilt psnr function there. For color image you can do the way PSNR_value=PSNR_rgb(noisyImag...

24 days ago | 0

Answered

error of Subscript indices must either be real positive integers or logicals, index exceeds matrix dimension,

There may be multiple error, I have noticed one immeditely You have defined dt1 as dt1=dx1/(a1*n); It return the value dt1...

error of Subscript indices must either be real positive integers or logicals, index exceeds matrix dimension,

There may be multiple error, I have noticed one immeditely You have defined dt1 as dt1=dx1/(a1*n); It return the value dt1...

24 days ago | 0

| accepted

Answered

Satisfying an equation using random numbers

theta=pi*(1/2-1*rand(1,10)); LHS=sqrt((1-sin(theta))./(1+sin(theta))); RHS=(1-tan(theta/2))./(1+tan(theta/2)); If your chec...

Satisfying an equation using random numbers

theta=pi*(1/2-1*rand(1,10)); LHS=sqrt((1-sin(theta))./(1+sin(theta))); RHS=(1-tan(theta/2))./(1+tan(theta/2)); If your chec...

24 days ago | 0

Answered

MATLAB could not find modbus function

This modbus function introduced in R2017a

MATLAB could not find modbus function

This modbus function introduced in R2017a

24 days ago | 0

Answered

Error opening .fig files

Have you tried this? fig1=openfig(figure_filename); %Only figure file name, ensure that figure in current directory

Error opening .fig files

Have you tried this? fig1=openfig(figure_filename); %Only figure file name, ensure that figure in current directory

25 days ago | 0

Answered

How can i obtain the edge of an Image using Compass operator in matlab.. pls respond with matlab code

I have answered based on the defination from this paper (SOBEL COMPASS EDGE DETECTOR). hx=[-1 0 1;-2 0 2;-1 0 1]; hy=[-1 -2 -...

How can i obtain the edge of an Image using Compass operator in matlab.. pls respond with matlab code

I have answered based on the defination from this paper (SOBEL COMPASS EDGE DETECTOR). hx=[-1 0 1;-2 0 2;-1 0 1]; hy=[-1 -2 -...

25 days ago | 0

Answered

change the graph from vertical to horizontal

As you did not provide A and B datas, you can do it in number of ways, which is suitable, please look on it. I have shown the ...

change the graph from vertical to horizontal

As you did not provide A and B datas, you can do it in number of ways, which is suitable, please look on it. I have shown the ...

25 days ago | 0

Answered

Enter matrix as table format in editor?

If I undestand the question, are you looking for this one or mat file?? M=[ 1 200 56; 67 0 34; 9 1123 467] Command ...

Enter matrix as table format in editor?

If I undestand the question, are you looking for this one or mat file?? M=[ 1 200 56; 67 0 34; 9 1123 467] Command ...

25 days ago | 0

Answered

create custom filter to image

Use mean2 and conv2 Is this OK with exp^ terms? -0.5 * x * brcov.^(-1) * x' >> whos x Name Size Byt...

create custom filter to image

Use mean2 and conv2 Is this OK with exp^ terms? -0.5 * x * brcov.^(-1) * x' >> whos x Name Size Byt...

25 days ago | 0

| accepted

Answered

I have about 300 short wav files, which have to be load into MATLAB. I am not able to find any information on how to load all the wav files into Matlab for further processing plz help.

% Ensure that all wav files in current directory and file names in proper sequence wavefiles=dir('*.wav'); for i=1:l...

I have about 300 short wav files, which have to be load into MATLAB. I am not able to find any information on how to load all the wav files into Matlab for further processing plz help.

% Ensure that all wav files in current directory and file names in proper sequence wavefiles=dir('*.wav'); for i=1:l...

25 days ago | 0

Answered

looping image analysis problem.

for i = 0:s while (i<10) image1=['img-00000000', int2str(i), '_Default_000.tif']; end while (i<100 && i>...

looping image analysis problem.

for i = 0:s while (i<10) image1=['img-00000000', int2str(i), '_Default_000.tif']; end while (i<100 && i>...

27 days ago | 1

Answered

How can i create two subplot

% Figure 1 figure(1); subplot(121), plot(test1); subplot(122), plot(test2); % Figure 2 figure(2); ...

How can i create two subplot

% Figure 1 figure(1); subplot(121), plot(test1); subplot(122), plot(test2); % Figure 2 figure(2); ...

27 days ago | 0

Answered

How to mix two images in loop with 10%step.

It can be code like this. But I would like to write it down like loop, so it looks better. I have chenged your code in for loo...

How to mix two images in loop with 10%step.

It can be code like this. But I would like to write it down like loop, so it looks better. I have chenged your code in for loo...

27 days ago | 0

Answered

My code isnt looping until answer is found

% I am certain that you can use while loop here, Lets say new evaluated error in each iterations names as error_update and err ...

My code isnt looping until answer is found

% I am certain that you can use while loop here, Lets say new evaluated error in each iterations names as error_update and err ...

27 days ago | 0

Answered

I want to store the matrices that are obtained from the loop each time.

q=input('Enter the q matrix:'); qd=input('Enter the maximum speed:'); m=size(q,1); for i=1:m-1 q_current(i,:)=q(i,:); ...

I want to store the matrices that are obtained from the loop each time.

q=input('Enter the q matrix:'); qd=input('Enter the maximum speed:'); m=size(q,1); for i=1:m-1 q_current(i,:)=q(i,:); ...

27 days ago | 0

Answered

Run a loop every hour regardless of its calculation time!

while true tic % some math here elapsedTime=toc pause(3600+elapsedTime); clearvars elapsedTime; end %...

Run a loop every hour regardless of its calculation time!

while true tic % some math here elapsedTime=toc pause(3600+elapsedTime); clearvars elapsedTime; end %...

27 days ago | 0

| accepted

Answered

please help me to correct my program

f1=str2double(inputdlg('Enter the value of frequency f1: ')); f2=str2double(inputdlg('Enter the value of frequency f2: ')); f3...

please help me to correct my program

f1=str2double(inputdlg('Enter the value of frequency f1: ')); f2=str2double(inputdlg('Enter the value of frequency f2: ')); f3...

28 days ago | 0

| accepted

Answered

I want to draw trapezoidal fuzzy function in Matlab with codes below but error occurred using plot 3 and vector must be the same length

Please Note: You have defined X1, not x1 ..same for all...Matlab is case sensitive. Therefore X1 is different from x1 X1=linspa...

I want to draw trapezoidal fuzzy function in Matlab with codes below but error occurred using plot 3 and vector must be the same length

Please Note: You have defined X1, not x1 ..same for all...Matlab is case sensitive. Therefore X1 is different from x1 X1=linspa...

28 days ago | 0