#Image Processing

#Whatsapp+91-8387942066

#Freelancer

Answered

Variable horizontal alignment of cell array's strings in annotation

cases = 18; percent = 0.3; dim = [0.1 0.5 0.1 0.1]; arrcell = {['there are ',num2str(cases),' cases'],['- - - -'],['the perce...

Variable horizontal alignment of cell array's strings in annotation

cases = 18; percent = 0.3; dim = [0.1 0.5 0.1 0.1]; arrcell = {['there are ',num2str(cases),' cases'],['- - - -'],['the perce...

3 days ago | 0

Answered

Make image from csv files

Example : lat = importdata('mariana_latitude.csv') imshow(lat,[]);

Make image from csv files

Example : lat = importdata('mariana_latitude.csv') imshow(lat,[]);

4 days ago | 0

Answered

How can I calculate average of two values using a for loop

Why you are dealing with cell array, you cal do same with array, By the way ave = PTS./G is not the average PTS = {539 1220 996...

How can I calculate average of two values using a for loop

Why you are dealing with cell array, you cal do same with array, By the way ave = PTS./G is not the average PTS = {539 1220 996...

4 days ago | 0

| accepted

Answered

How to divide 2D histogram into four quadrants

You can manualy insert the line as required data=randi(100,[10,10]); hist(data); grid on; hold on; x_data=1:100; y_data=r...

How to divide 2D histogram into four quadrants

You can manualy insert the line as required data=randi(100,[10,10]); hist(data); grid on; hold on; x_data=1:100; y_data=r...

4 days ago | 1

Answered

Is there a logical NAND operation in MATLAB like the logical AND operation '&'?

nand_result=~(A & B)

Is there a logical NAND operation in MATLAB like the logical AND operation '&'?

nand_result=~(A & B)

4 days ago | 0

| accepted

Answered

Help!! I'm trying to plot a function where the output changes with different values of the array. my for loop works, I can see the values changing. I just have trouble with plotting it. I get a graph with nothing in it! any help is appreciated!

gamma=0.268; dt=0.05; T=10; t=0:dt:T for tt=1:length(t) x=gamma*sqrt(((1-cos(0.7255*t(tt))).^2+(sin(0.7255*t(tt))).^2)/((...

Help!! I'm trying to plot a function where the output changes with different values of the array. my for loop works, I can see the values changing. I just have trouble with plotting it. I get a graph with nothing in it! any help is appreciated!

gamma=0.268; dt=0.05; T=10; t=0:dt:T for tt=1:length(t) x=gamma*sqrt(((1-cos(0.7255*t(tt))).^2+(sin(0.7255*t(tt))).^2)/((...

4 days ago | 1

| accepted

Answered

How to generate triangular heatmap using matlab?

data=tril(randi(100,[15,15])); imagesc(data); colormap summer colorbar Plese DO modification and addition(labels) as per req...

How to generate triangular heatmap using matlab?

data=tril(randi(100,[15,15])); imagesc(data); colormap summer colorbar Plese DO modification and addition(labels) as per req...

4 days ago | 1

Answered

find a value and their related values in other columns

Let's example mat=[-3 0.01 0 0.04 +3 0.06 6 0.08 9 0.09]; data_cl=mat(find(ma...

find a value and their related values in other columns

Let's example mat=[-3 0.01 0 0.04 +3 0.06 6 0.08 9 0.09]; data_cl=mat(find(ma...

4 days ago | 0

| accepted

Answered

how to create a phase plane in matlab

Quiver plot https://www.mathworks.com/help/matlab/ref/quiver.html http://www.thphys.nuim.ie/CompPhysics/matlab/help/techdoc/r...

how to create a phase plane in matlab

Quiver plot https://www.mathworks.com/help/matlab/ref/quiver.html http://www.thphys.nuim.ie/CompPhysics/matlab/help/techdoc/r...

4 days ago | 0

Answered

How to solve error " Undefined function or variable "

Save the function (Gauss_loglik.m) in the same directory (No clc or clear in function file)

How to solve error " Undefined function or variable "

Save the function (Gauss_loglik.m) in the same directory (No clc or clear in function file)

4 days ago | 1

Answered

Segmentation and vertical length measurements

#NonTested, but providing the steps for the same- Convert the image to binary Apply Hit and Miss Transfrom to trace the outer...

Segmentation and vertical length measurements

#NonTested, but providing the steps for the same- Convert the image to binary Apply Hit and Miss Transfrom to trace the outer...

6 days ago | 0

Answered

Change column name based on another vector

See the table and set accordingly https://www.mathworks.com/help/matlab/ref/table.html

Change column name based on another vector

See the table and set accordingly https://www.mathworks.com/help/matlab/ref/table.html

6 days ago | 0

Answered

How to convert string "26/7" into a double variable?

X = str2double(str) converts the text in str to double precision values. Text is "22/7" This is not a number right "/" . What d...

How to convert string "26/7" into a double variable?

X = str2double(str) converts the text in str to double precision values. Text is "22/7" This is not a number right "/" . What d...

6 days ago | 0

Answered

Is it possible Matlab shows the grid on the surface of the plot?

Change the faceAlpha (within 0 and 1) value, see, it may heps you (This is transperancy) surf(x,t,abs(r1),'FaceAlpha',0.5); Or...

Is it possible Matlab shows the grid on the surface of the plot?

Change the faceAlpha (within 0 and 1) value, see, it may heps you (This is transperancy) surf(x,t,abs(r1),'FaceAlpha',0.5); Or...

6 days ago | 0

Answered

How to use a loop to increase polynomial order and store results

One way hints: Start with T(1) to T(10), Matlab doesnot allow zero indexing T(1)=t^1 for i=2:9 T(i)=[T(i-1),t^i]; end

How to use a loop to increase polynomial order and store results

One way hints: Start with T(1) to T(10), Matlab doesnot allow zero indexing T(1)=t^1 for i=2:9 T(i)=[T(i-1),t^i]; end

7 days ago | 0

Answered

How can i change the positions of numbers in a matrix

sort the matrix, you will get all rows at initails of rows numbers sort(matrix)

How can i change the positions of numbers in a matrix

sort the matrix, you will get all rows at initails of rows numbers sort(matrix)

7 days ago | 0

Answered

Help with filling in a few pixels

See imerode with proper str element then trace. Later you have to take care this morpho operation to get the actual shape/sizes

Help with filling in a few pixels

See imerode with proper str element then trace. Later you have to take care this morpho operation to get the actual shape/sizes

8 days ago | 0

Answered

Plot Data into a Histogramm

"My question: Is my histogram ok?" Ans: OK, as per your data "Because i thought that in a histogram the most frequent data mus...

Plot Data into a Histogramm

"My question: Is my histogram ok?" Ans: OK, as per your data "Because i thought that in a histogram the most frequent data mus...

8 days ago | 0

Answered

Array indices must be positive integers or logical values.

keff2 = k2 .*(am2*(k1+2*k2)-2*am1*(k2-k1))./(am2*(k1+2*k2)-am1*(k1-k2)); More: p0=8.854e-12; % Membrane thickness d, cell ra...

Array indices must be positive integers or logical values.

keff2 = k2 .*(am2*(k1+2*k2)-2*am1*(k2-k1))./(am2*(k1+2*k2)-am1*(k1-k2)); More: p0=8.854e-12; % Membrane thickness d, cell ra...

8 days ago | 0

| accepted

Answered

Multiple graphs not showing

All values produce the same result, hence opvelaped. When I multiply k by rand function it shows the plots.

Multiple graphs not showing

All values produce the same result, hence opvelaped. When I multiply k by rand function it shows the plots.

8 days ago | 1

Answered

How can I assign correct value for variable img_heq

img_heq=histeq(img,[0,255])

How can I assign correct value for variable img_heq

img_heq=histeq(img,[0,255])

8 days ago | 0

Answered

Smith Diagramm in matlab/octave

axis off; Or Also you can set the axes properties , like set(...) or axes('Color','none','XColor','none');

Smith Diagramm in matlab/octave

axis off; Or Also you can set the axes properties , like set(...) or axes('Color','none','XColor','none');

26 days ago | 0

Answered

how to remove Outermost semicircle on the grayscale image?

mask=bwareafilt(~imbinarize(grayImage,0.8),1); grayImage(~mask)=255; imshow(grayImage);

how to remove Outermost semicircle on the grayscale image?

mask=bwareafilt(~imbinarize(grayImage,0.8),1); grayImage(~mask)=255; imshow(grayImage);

28 days ago | 0

| accepted

Answered

How to show all figure in lopping to only only one figure?

"How to show all figure in lopping to only only one figure?" #Example figure, for i=1:10 data=rand(1,20); subplot(...

How to show all figure in lopping to only only one figure?

"How to show all figure in lopping to only only one figure?" #Example figure, for i=1:10 data=rand(1,20); subplot(...

1 month ago | 0

Answered

how to random initialize svd function in matlab??

data_test=magic(3); [U,S,V]=svd(data_test) Result U = -0.5774 0.7071 0.4082 -0.5774 0.0000 -0.8165 -0....

how to random initialize svd function in matlab??

data_test=magic(3); [U,S,V]=svd(data_test) Result U = -0.5774 0.7071 0.4082 -0.5774 0.0000 -0.8165 -0....

1 month ago | 0

Answered

Can anyone help me to solve my last line matlab error? When I use haar transfrom, it works perfect, but when I use db2, the last figure could not come, please help.

It's the issue with concanatation (Dimention Mismatch) , Here I have choosen one test image to check. Lets simply to get the iss...

Can anyone help me to solve my last line matlab error? When I use haar transfrom, it works perfect, but when I use db2, the last figure could not come, please help.

It's the issue with concanatation (Dimention Mismatch) , Here I have choosen one test image to check. Lets simply to get the iss...

1 month ago | 0

| accepted

Answered

How to replace a column in a text file with time and plot a graph from it?

Please note: It should be column vector data = load('test1.txt'); data(:, 1) =[0:0.0001:60000]';

How to replace a column in a text file with time and plot a graph from it?

Please note: It should be column vector data = load('test1.txt'); data(:, 1) =[0:0.0001:60000]';

1 month ago | 0

Answered

How can I plot this discrete recursive function?

function pop=discrete_logistic(time) r = 1; K = 1000; N0 = 0.1; if time==0 pop=N0; else pop=discrete_logistic(tim...

How can I plot this discrete recursive function?

function pop=discrete_logistic(time) r = 1; K = 1000; N0 = 0.1; if time==0 pop=N0; else pop=discrete_logistic(tim...

1 month ago | 1

| accepted