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_...

1 year 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...

1 year 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. ...

1 year 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...

1 year 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....

1 year 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...

1 year 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.

1 year 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...

1 year 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.

1 year 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...

1 year 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 ...

1 year 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...

1 year 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); ...

1 year 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...

1 year 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...

1 year 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

1 year 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...

1 year 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...

1 year ago | 0

Answered
Adding White Gaussian Noise to an Image.
Try imnoise

1 year 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...

1 year 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

1 year 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...

1 year ago | 0

Answered
Help with getting data from image at equidistant positions from the centre - to include the "off circle corners"
@Jason, ok try this - it may be a little more intuitive: grayImage = imread('cameraman.tif'); [rows, columns, numColorChannels...

1 year ago | 0

Answered
Help with Matlab code
The colon, :, means "all" so MD2(7,:) = MD2(7,:)+MS(1,:)+MS(15,:); means set all columns in row 7 of MD2 to be what they orig...

1 year ago | 0

Answered
How to change the legend format to “Descriptive text + icon”
That's because legend() does not have any children, much less of types text and patch: x = 1:10; y1 = x; y2 = x.^2; plot(x, ...

1 year ago | 0

Answered
Obtain intensity values within the ROIs drawn on image in this script. Then, write and display intensity values within the ROIs on the image.
Since your rectangles are adjacent, you can use blockproc. It's a function meant for exactly this kind of operation. See attac...

1 year ago | 0

Answered
Help with getting data from image at equidistant positions from the centre - to include the "off circle corners"
See attached demo. Adapt as needed, for example change mean to median.

1 year ago | 0

Answered
How do I remove the colored area on a part of the map?
The whole image, even the gray stuff and tick mark labels? Or just the colored parts? Try this: % Demo by Image Analyst % In...

1 year ago | 0

Answered
Converting a image matrix from RGB to XYZ color space
% In range 0-1 srgb=rand(24,3); [xyz2D]=convertsrgb2xyz(srgb) % uint8 variables in range 0-255 srgbUint8 = uint8(255 * rand...

1 year ago | 1

Answered
Periodic Boundary condition feature in image analysis tools
It can be done but it's a bit tricky. You can call imclearborder and then use find() to find out which blobs have pixels in com...

1 year ago | 0

Load more