Answered
Can a stand alone version be used by anyone?
If you have the Compiler Toolbox in your license, then yes you can distribute the standalone executable to anyone and they can r...

3 years ago | 0

Answered
Complete unexpected GUI-elements behavior
Maybe try to build it from scratch using App Designer instead of GUIDE.

3 years ago | 0

Answered
Count and measure objects in a photo
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

3 years ago | 0

| accepted

Answered
Using methods across multiple class objects of the same class?
If the results are strings, try {MyOperatingPoint.Run.fooProp1} or vertcat(MyOperatingPoint.Run.fooProp1)

3 years ago | 0

| accepted

Answered
how to process multiple video files from a folder
This is one of the most common FAQ questions, so see the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_o...

3 years ago | 1

Answered
Undefined function 'imsegkmeans' for input arguments of type 'uint8'.
I don't like that function anyway. K-means is not what you want to do unless you have a good supply of each class in each image...

3 years ago | 0

Answered
segmentation using k-means clustering
Sorry I didn't see this when it was posted 3 years ago. As you can see the whole approach is wrong. K-means is not what you wa...

3 years ago | 0

Answered
Magnifying a Segment of Plot in MATLAB Figure
I'm attaching some of my demos where I insert axes into axes as small insets. Adapt the "inset_plot_within_another_plot.m" fi...

3 years ago | 0

Answered
How to determine resolution of an image in micron/pixel
I believe you can tell your microscope to stamp a "micron bar" into your image. Do that, then calibrate to it. See the attache...

3 years ago | 0

| accepted

Answered
How to make contour smooth
Looks like you used contourf on some gray scale image. You can get smoother contours by blurring your image before calling cont...

3 years ago | 0

Answered
comparing two matrices of different dimensions
Here is an alternate way using pdist2 in the Statistics and Machine Learning Toolbox. % Create simple, sample integer data. A ...

3 years ago | 0

Answered
I have 2D images of black balls and white inter-balls spaces. I want a CNN to recognise the white area. I think it's a grayscale binary image segmentation task
Training with synthetic images and then running on real world images will likely produce inaccurate segmentations and porosity e...

3 years ago | 2

| accepted

Answered
Turning all elements of a column array into the same factor of 10
Try round X = [19.9, 20, 20, 20.1, 20.12, 19.81, 20, 32, 46]; rounded = round(X, -1)

3 years ago | 1

| accepted

Poll


My preferred vacation is to visit

3 years ago | 13709 votes | 15 comments

Answered
Saving and reloading a table
That should work. You'll need to show us how you actually saved it with the save function. What I'd do is %------------------...

3 years ago | 0

Answered
I'm finding it difficult to execute loadcase functions using MATPOWER toolbox.
You have a file called loadcase.m. The code in that file is a script, not a function. So it cannot take an input argument. Ye...

3 years ago | 0

| accepted

Answered
Write a MATLAB program which will ask the user for a number. If the number is equal to two times a predefined number, the program should print out a welcome message. Otherwise
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

3 years ago | 1

Answered
saving the R G B values displayed with impixelinfo in an image into a matrix
Use imread to read it into an array before you display it. Then you'll have all the RGB values. It's much easier to do it this...

3 years ago | 0

Answered
save the RGB numbers of an image inside a cell
I know you said you want a cell but I think you really don't want a slow, inefficient, memory hogging cell array. I think you s...

3 years ago | 1

Answered
Tracking Surface Features Over Multiple Images
I'm still not sure what feature you want to measure in those images, like mean intensity/color, area, centroid, number of blobs,...

3 years ago | 0

| accepted

Answered
How would I perform a weighted least-squares regression analysis with x and y error?
Do you want to simply use polyfit to fit a polynomial? If so, see attached demo.

3 years ago | 0

Answered
Setting graph colour also visible in greyscale
If you want you can set up your own colormap. You might want to use gray and then use just specific rows from it, like you did ...

3 years ago | 0

Answered
How to add different shaded Color to the back ground of a graph?
Try fill or patch

3 years ago | 1

| accepted

Answered
I'm trying to make an image with data from a .txt file
I get this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imto...

3 years ago | 1

Answered
How to make loop over numbered folders?
See the FAQ for code snippets: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

3 years ago | 0

Answered
how to make the size of 2 boards equal
If they have the same number of columns and you just want to stitch them together, one atop the other, try AB = [A; B]

3 years ago | 1

| accepted

Answered
Doubt in a program
Don't use time as the name of your variable since it's a built-in function. Call it "theTime" or something. Don't have line 20...

3 years ago | 0

Answered
what can MATLAB do with tif files
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

3 years ago | 2

| accepted

Answered
How to quantify the object shift between projection images using Matlab?
I don't see any images attached, but try imregister or imregcorr Or try normalized cross correlation. See attached demo.

3 years ago | 0

Answered
How to remove inner edge of the target?
What do you want to do? Why did you use edge() instead of simply thresholding? Anyway, if you want a list of outer boundary co...

3 years ago | 1

Load more