Answered
Num2cell question
You say "cell structure" but it's ambiguous whether you want a structure array or a cell array. Why on earth would you want to ...

7 dagen ago | 0

Answered
How to apply a voronoi on regions rather than centroids
It sounds like you're wanting the skiz. Search the help for skiz and you'll find a demo. Also look at these Watershed transfo...

7 dagen ago | 0

| accepted

Answered
Faded text in editor
I had no such problems when I was using that version. Why not upgrade to 2022b and see if it's still a problem? Perhaps make t...

7 dagen ago | 0

Answered
correlation between two images
You never assigned S4 because you never went into the if block, which means len is not greater than len2. You need to learn h...

7 dagen ago | 0

Answered
matlab editor switching to onedrive
Not sure what you mean. The one on your C drive is in your OneDrive. You have a local copy and a cloud copy. But the local co...

7 dagen ago | 0

| accepted

Answered
Remove array elements but also store the element indices that were not removed
There are several ways. Here are two: a = ["a", "b", "c", "d", "e" ,"f"] rowsToRemove = [1, 5]; aExtracted = a(rowsToRemove)...

7 dagen ago | 0

Answered
Assign values outside a circle in an image to zero
That's answered in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_do_I_create_a_circle? % Create a logical image of a circle ...

7 dagen ago | 0

| accepted

Answered
True color detection from taken picture
Attached is a demo to take a "test" (bad) image of a color checker chart and correct it such that the chip values are much close...

7 dagen ago | 0

Answered
How to do piecewise linear approximation from x and y points?
I really see no point in fitting two lines to data where there is only 6 points. With so few points there is essentially no con...

7 dagen ago | 0

Answered
MATLAB Download of Software
Yes, you can change computers. When you uninstall the software, deactivate it on the old one before you discard it (it will ask...

7 dagen ago | 0

Answered
Comparing images in groups
OK, so you don't have to try nested for loops if you don't want. You can compute the mean of everything then group the means in...

8 dagen ago | 0

Answered
If x>5 for y seconds, then z
What's wrong with tic and toc? startTime = tic; elapsedTime = toc(startTime); loopCounter = 1; while elaspedTime < 5 fp...

8 dagen ago | 0

Answered
Regression analysis for enthalpy vaporization
You can use nlmfit() to find the A and n. Attached is a demo. Adapt as needed. If you need more help, then attach your data a...

8 dagen ago | 0

Answered
Form Index Image Processing
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

8 dagen ago | 1

| accepted

Answered
True color detection from taken picture
This is a lot of work. Basically there is no "true" RGB values for the chips. The best you can do is to assume the "true" colo...

8 dagen ago | 0

Answered
How to get the edges of this mask?
bwboundaries will give you a cell array of all boundaries in the image. Each boundary is a N-by-2 list of (x,y) coordinates. H...

8 dagen ago | 0

| accepted

Answered
Angle with three points
See this answer: https://www.mathworks.com/matlabcentral/answers/331017-calculating-angle-between-three-points#answer_259649

8 dagen ago | 0

Answered
How do you find boundaries of a binary matrix developed from an image?
Yes [rows, columns] = find(binaryMatrix); topRow = min(rows) bottomRow = max(rows) leftColumn = min(columns) rightColumn = ...

8 dagen ago | 0

Answered
Segmentation not working on Dicom images
I'm not sure what you mean by the image looks greyish. It looks like the masked blob in the middle has the full dynamic range. ...

8 dagen ago | 0

Answered
I want to build the square wave: build a 6 subplot figure to show the time domain, and use respectively 1, 3, 5, 10, 50, 500 frequencies.How can i achieve this?
Start with this: allFreqs = [1, 3, 5, 10, 50, 500]; for k = 1 : length(allFreqs) thisFreq = allFreqs(k); subplot(len...

8 dagen ago | 0

| accepted

Answered
I am a beginner and this is just a short question. How can I input the matrice x=[-1 0 5 10] into an if statement and use the output to calculate Y?
You need to loop over all x if you have x in a vector like that x = [-1, 0, 5, 10]; for k = 1 : numel(x) if x(k) > 0 && x(k)...

8 dagen ago | 0

| accepted

Answered
i need code in matlab
See attached function. x = [-1; -8; -6.5]; y = [3.2; 4; -9.3]; plot(x, y, 'b.', 'MarkerSize', 50); % Find the center and rad...

8 dagen ago | 0

Answered
How to use adapthisteq on an AVI video
Yes good idea but you have a number of errors in there. Mainly that your histogram equalization is not inside your loop over al...

8 dagen ago | 1

| accepted

Answered
i need code in matlab
You didn't say what you wanted to do. I'll assume you want to draw the circles on a graph. Here is the code: x = [-1; -8; -6....

8 dagen ago | 1

| accepted

Answered
How to wrap an image/points to a 3d surface?
Maybe what you want is the attached demo.

8 dagen ago | 0

Answered
I am a beginner and this is just a short question. How can I input the matrice x=[-1 0 5 10] into an if statement and use the output to calculate Y?
Hint: x = input( if x > 0 && x <= 10 %code else %code end I'm confident you will be able to figure out the last f...

8 dagen ago | 0

Answered
How to create these shapes in Matlab
Didn't I give you everything you need in your duplicate post: https://www.mathworks.com/matlabcentral/answers/1858608-create-a-...

8 dagen ago | 1

Answered
Create a binary image from a 2-dimensional binary [0 1] matrix
Pretty trivial. First define the number of rows and columns in the image. Then define the x and y coordinates for one rectangl...

9 dagen ago | 1

| accepted

Answered
can I download 2022b?
See the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_installer_crashes,_hangs,_gives_an_error_message,_does...

9 dagen ago | 0

Answered
Measurement of properties from Tiff image
Here's a start: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of ...

9 dagen ago | 0

Load more