Community Profile

photo

Loren99


Last seen: 2 days ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to use the command window in order to make a script faster and interactive?
Hi everyone! I would like to make a code more interactive using the command window. I have some variables .mat named new_x_edge...

17 days ago | 1 answer | 0

1

answer

Question


How to merge two .fig images using hold on command?
Hi everyone! I need a help with the command hold on. In particular, I would like to plot both voronoi70.fig, voronoi80.fig and t...

25 days ago | 1 answer | 0

1

answer

Question


How to replace double values into an array with NaN?
Hi everyone! I need a help with this code. I have a set of points at 90 meters of altitude and another set of points at 140 mete...

1 month ago | 1 answer | 0

1

answer

Question


How do I insert a working code inside a while loop procedure?
Hi everyone! I have the following problem. I have built a code (which works) whose aim is to eliminate those points in the seg...

3 months ago | 1 answer | 0

1

answer

Question


How do I remove elements of an array from another array?
Hi everyone! I would like to understand how to remove elements in an array. I post my code and then I explain my problem. This ...

3 months ago | 1 answer | 0

1

answer

Question


How to iterate until a point satisfies a certain condition?
Hi everyone! I need a suggestion for this code. I have this code: x = [1,2,2,2,1;2,3,2,1,1]; y = [1,1,1,2,2;1,1,2,2,1]; plot(...

3 months ago | 2 answers | 0

2

answers

Question


how to fill a new vector after a if condition?
Hi everyone! I have two vectors new_vrx and new_vry (each one has size 2x941) where: I would like to create new vectors: x_edge...

3 months ago | 1 answer | 0

1

answer

Question


How to populate a new vector by extracting only certain elements from another vector?
Hi everyone! I would like to obtain two vectors new_vrx (with size 2xn) and new_vry (with size 2xn). I would like to keep on...

4 months ago | 1 answer | 0

1

answer

Question


How to pass from a set of points to lines interpolating them?
Hi everyone! I have obtained the following skeletonization However, if you zoom, you see that the pink lines are not lines...

4 months ago | 1 answer | 0

1

answer

Question


How to find the x and y coordinates of points inside a binary image M?
Hi everyone! I need a help with a code. On one hand, I have a binary image M (logical); on the other hand, I have vrx (2x658) an...

4 months ago | 1 answer | 0

1

answer

Question


how to make matlab save (filename) command work?
Hi everyone! When I try to write save(filename) something strange like this happen to my code. The strange thing is that a week ...

4 months ago | 1 answer | 0

1

answer

Question


Why doesn't bwconncomp detect each connected component as expected?
Hi everyone! I have the following binary image M I have a problem with bwconncomp. My aim is to generate Voronoi diagrams us...

4 months ago | 1 answer | 0

1

answer

Question


How to eliminate some useless lines in an image?
I would like to know if exist a method that cancels the blue lines directly attached to the yellow shapes; for example obtaining...

4 months ago | 1 answer | 0

1

answer

Question


How to obtain the coordinates in a MATLAB image as I move the cursor of the mouse on it?
I have obtained the following image (which is the binary matrix M). I would like to know if there is a way to get the coordinate...

4 months ago | 2 answers | 0

2

answers

Question


How to set up the axes of a binary Image?
Hi everyone! I would like to know if there is a method to set up the axes of a logical matrix which is a binary image. In the m...

4 months ago | 2 answers | 0

2

answers

Question


How to plot 3D vectors on a 2D plot?
Hi everyone! I need to create a 2D plot where the elements that are at z = 1 must be at the same level of the elements at x and ...

4 months ago | 1 answer | 0

1

answer

Question


How to create a graph of pixels?
I have this Matlab code that gives me in output this image in which I have a graph that sorrounds the obtacles. My idea now is t...

5 months ago | 1 answer | 0

1

answer

Question


Lomb Scargle Periodogram gives me an unexpected peak in the final plot
Hi everyone! I have applied plomb to obtain the lomb scargle periodogram of my function. However in addition to the most signifi...

10 months ago | 2 answers | 1

2

answers

Question


How to create an interactive menu in the command window?
Hi everyone! I need to make this code smarter and more interactive. In particular, I would like the user to select the presence ...

11 months ago | 1 answer | 0

1

answer

Question


How to reduce angle values in a range between 0 and 360 deg?
Hi everyone! I have obtained the angles alpha, beta and gamma in deg. However I would like to make a plot with values of gamma i...

11 months ago | 2 answers | 0

2

answers

Question


How to make a plot in function of timetables expressed in UTC ?
Hi everyone, I need to make a plot of the values in the third column in the file Dates.txt in function of the timetables UTC in...

12 months ago | 1 answer | 0

1

answer

Question


How can I correct the wrong size of a variable (matrix instead of a vector)?
Hi everyone; I have a problem with this code. My aim is to plot m_app of a cube (6 facets) in function of times, so I would like...

12 months ago | 1 answer | 0

1

answer

Question


How to get a column vector for all the considered time instants?
Hi everyone. I have a problem with this code. At the end I would like to obtain the r_ORF column vector for all the time insta...

12 months ago | 1 answer | 0

1

answer

Question


Matlab Problem with an Image
Hi everyone, I am new to MATLAB Image Processing and I need your help; how can I extract the values that belongs to an object l...

12 months ago | 1 answer | 0

1

answer