Question

How to use a while loop with irregular step?

i would like to use a "while" loop ( while i<20) but with an irregular step. For example it goes this way : i=1,2,3, 5,7,9,12,15...

5 years ago | 2 answers | 0

Question

How to add a legend to a figure, but a legend that changes every iteration in a loop ?

I have a "while" loop (while i< tmax ). What i would like to do is to add the element "curve -- i " to the legend every iteratio...

5 years ago | 3 answers | 0

Question

How to add data to an existing txt file which already contains some lines ?

How to add data to an existing txt file which already contains some lines ?

5 years ago | 2 answers | 0

Question

How to write vectors line by line in a txt file using fprintf delimited by a space?

I have for example these three vectors : [1 2 3 ], [4 5 6 ],[7 8 9]. I would like to get the result like this in the file txt:...

5 years ago | 1 answer | 0

Question

How to import a .geo file (of gmsh) into GUI matlab?

How to load a .geo file (of gmsh) containing lines and arcs into GUI matlab

5 years ago | 0 answers | 0

Question

How to return the intersection point of a line and a circle-arc ?

As shown in the figure below i would like to find the intersection between the edge and the arc Please help me <</matlabcen...

5 years ago | 1 answer | 0

Question

How to detect if there is an intersection between a line and other existing elements in a figure GUI ?

I have a figure GUI matlab which contains elements like circle-arcs and lines (as shown in the fig below). I will draw a line .B...

5 years ago | 0 answers | 0

Question

How to ajust matlab GUI axes appearence?

I adjusted x axe and y axe to be equal (as shown in the fig ) but in the interface they don't appear to be equal, it doesnt take...

5 years ago | 1 answer | 0

Question

How to translate a point on a line by a distance "e" ?

I have the line given by the points A and B . The line is in the form [a b c] where the equation is ax+by+c=0. I would like to k...

5 years ago | 2 answers | 0

Question

How to translate a point according to a direction theta ?

How to translate a point by a distance "d" according to a direction theta ?

5 years ago | 1 answer | 0

Question

What is an edge exacty in matlab? is it simply a line ?

Here i'm not talking about image processing or edge detection. i mean drawing an edge given two points what does it mean? if it ...

5 years ago | 1 answer | 0

Question

How to translate a circle-arc by a distance "e" ?

How to translate a circle-arc by a distance "e" ? i mean in a parallel way.

5 years ago | 0 answers | 0

Question

Does it exist an already developed module on matlab that returns a parallel circle-arc to another given circle-arc ?

I would like to return the parallel circle-arc to a given circle-arc, displaced by a distance "e". I found packages that allow ...

5 years ago | 1 answer | 0

Question

How to adjust axes and grid in GUI matlab? how to get more precision for example [-1 -0.5 0] other than [-1 0]

I would like to make the axes and the grid more precise as shown in the image below but i dont know how . i would like that when...

5 years ago | 2 answers | 0

Question

How to convert a 1x 19 char to 4x5 char ?

How to convert a 1x 19 char to 4x5 char ?

5 years ago | 1 answer | 0

Question

Anyone could help me with the Code matlab of "adaptive thresholding method" of an image?

I searched for hours for the code of this method "adaptative thresholding" but didn't find anything. This method is based on the...

5 years ago | 2 answers | 0

Question

Interpretation of a value of entropy 0.8 of an image ? What is the conclusion ?

If i had a result of 0.877 for an entropy of an image what does it mean?What conclusion can i understand ? Same question for an...

5 years ago | 0 answers | 0

Question

How to obtain the histogram of a colored image by "imhist" ?

I have an image 180x180 colored,i used the function "imhist" but there is always an error i dont know why .

5 years ago | 1 answer | 0

Question

How to change the language of "help" matlab from english to fr without reinstalling all ?

How to change the language of "help" matlab from english to fr without reinstalling all ?

5 years ago | 0 answers | 0

Question

where can i find the code of an existing matlab function like "entropy"(for image processing)?

where can i find the code of an existing matlab function like "entropy"?

5 years ago | 2 answers | 0

Question

What do "fftshift" do exactly for an image ?

What do "fftshift" do exactly for an image ?

5 years ago | 1 answer | 0

Question

How to calculate the mean of an image?

How to calculate the mean of an image? Does the code mean2(img) give the right result?

5 years ago | 2 answers | 0

Question

What is the meaning of A (: ,: ,1) in matlab? where A is a matrix

What is the meaning of A (: ,: ,1) in matlab? where A is a matrix .thanks

5 years ago | 2 answers | 0

Question

How to convert a 1x1 cell to a string?

How to convert a 1x1 cell like {'line'} to a character vector like 'line', or a string like "line" please. thx

5 years ago | 3 answers | 5

Question

How to convert a 2-D char to string?

i have a 2/5 char array that i want to convert to string. How please?

5 years ago | 1 answer | 0

Question

About listbox item selection: If i have two boxes how can i know from which one the cursor has selected?

I have two listboxes : listbox1 containing lines,and listbox2 containing cercles. And i have a button "Set" (as described in the...

5 years ago | 1 answer | 0