Answered
Intersection points of multiple straight line segments
How about just do a brute force loop numSegments = size(lineSegments, 1); % Num rows in the matrix. numIntersections = numSegm...

6 months ago | 0

Answered
How to expand a matrix and interpolate between values?
I believe you can simply use interp1 if you have a matrix. Otherwise if you have a table, you can make the syntax changes neces...

6 months ago | 1

Answered
closed countour around a given point
Just treat your image as an image and use image processing. So threshold it at whatever level you want to get a binary image. ...

6 months ago | 0

Answered
Why am I unable to execute my standalone application with an error referring to "mclmcrrt9_4.dll"
Look in the c:\Program Files\MATLAB folder. If the run time library installation worked, you should see it in there.

6 months ago | 0

Answered
Gradient based sharpness identifictaion in an image
Try using imgradient or stdfilt to find regions of high detail. These should be in focus. Of course low detail areas could als...

6 months ago | 0

| accepted

Answered
matlab window is moving towards left not able to visible full only x is dislay can any i suggest to solve this issue
If part(s) of your figure are off screen, try to get the screen size, then reposition and resize your figure window to be on the...

6 months ago | 0

Answered
Help me get this shape on the masks
Try bwboundaries and alphaShape https://www.mathworks.com/help/releases/R2024b/matlab/ref/alphashape.html

6 months ago | 0

Answered
Separate Callback Functions in AppDesigner
The callback for a button, and the CloseRequestFunction callback for the figure are two entirely separate functions. For the Qu...

6 months ago | 0

Answered
Problem extracting values from for loop
Index the RMSE variable: for loopIndex = 1 : whatever F = getdatasamples(y_out.clean, [1:567]); A = getdatasamples(y_...

6 months ago | 0

| accepted

Answered
Automatic Image Segmentation of three steel ropes using Image Processing Tools
@Darya Yakovleva, I'm really surprised I did not see your post when you posted it 4 years ago. But anyway, you've chosen wisely...

6 months ago | 0

Answered
How do I access an element in an answer array directly?
Evidently you need to do it in two steps. A bonus though is that the two step method is much more readable and understandable. ...

6 months ago | 0

| accepted

Answered
I am trying to remove a noise which was generated as a random noise added with multitone cosine signals so that this noise will contain white gaussian noise with multiple
It's not really white (flat spectrum), is it, if it occurs at specific and known frequencies? Why don't you just FFT the signal...

6 months ago | 0

Answered
Extract Text and Values from String
How much does the string vary? Are all the things at fixed, specific locations? If so just use indexing str = 'AB(16.7)CD[20....

6 months ago | 0

Answered
Problem with matlab support/sales team- NO RESPONSE
Go here: https://www.mathworks.com/support/contact_us.html?s_tid=hp_ff_s_support Change the country to the one you live in, an...

6 months ago | 0

Answered
How to make MATLAB read the environment variable JAVA_HOME
Maybe try using setenv to set it up in your startup.m file.

7 months ago | 0

Answered
Image analysis - Bounding Box converted to Circular Mask
To display circles rather than bounding boxes, you can just ask regionprops for the Centroid and EquivDiameter. Then use viscir...

7 months ago | 0

| accepted

Answered
How do I find the corner points of an mask
Depending on the shapes you're dealing with, convhull may work for you.

7 months ago | 1

Answered
How to skip missing time durations in a time-series heatmap (image based figure)
I don't think putting in nans where you don't want it to plot is "klunky" - we do it all the time. Go ahead and do it if that w...

7 months ago | 0

Answered
Can Matlab automatically detect a new value in Excel?
How about if you use dir to get the file date/time stamp and then if it's later than the last time you processed it then Stella ...

7 months ago | 0

Answered
Can Matlab automatically detect a new value in Excel?
If you're using Windows and ActiveX, you can check out the properties and methods here: https://learn.microsoft.com/en-us/dotne...

7 months ago | 0

Answered
10x10 Matrix
Alternatively (since you already have a solution to your homework problem from the other Answer) you can do m = 10 * rand(10); ...

7 months ago | 0

Answered
How to eliminate this white haze when taking a photo?
@DGM makes some good suggestions. Glare and haze are caused by excess bright light scattering around your camera's optical syst...

7 months ago | 1

Answered
How would I use a 2D array based on a topographical map to determine the steepest direction at each point?
Try imgradient or imgradientxy Since this is a homework problem, if you have any questions ask your instructor or read the link...

7 months ago | 1

Answered
failing to normalize columns of matrix from 0 to 1
Try rescale for ii = 2 : 2 : size(A, 2) A(:,ii) = rescale(A(:,ii), 0, 1); end

7 months ago | 0

Answered
yticks function gives error with subplot function
Like I and everyone else says, your code runs for us and the error message indicates you have a variable called yticks. Set a b...

7 months ago | 0

Answered
How to create animation smiling face?
See attached demos and adapt as needed. Also see this tutorial on how to make animated GIFs. https://www.mathworks.com/matlabc...

7 months ago | 0

Answered
Adding White Gaussian Noise to an Image.
Try imnoise

7 months ago | 0

Answered
how to load from text file to listbox
You can use readlines to read the lines of the text file and then put them into the listbox. For App Designer, it would be some...

7 months ago | 0

Answered
How do I start using MATLAB Copilot?
@翼 in the meantime, try doing what you said here: https://www.mathworks.com/matlabcentral/playground?s_tid=gn_mlc_playground

7 months ago | 0

Answered
Which one is the best?
You can try them all out in the Classification Learner app on the Apps tab of the tool ribbon. You can try them with your actua...

7 months ago | 0

Load more