回答済み

How can I add quiver in this according to their color?

Use annotation. Set the color according to the angle. Should be easy, right? You should not have removed all the comments whe...

How can I add quiver in this according to their color?

Use annotation. Set the color according to the angle. Should be easy, right? You should not have removed all the comments whe...

10日 前 | 0

回答済み

How to calculate coordinate of binary iamges boundary??

It looks like the boundary is pretty solid and you probably just want the top row, not the sides and bottom. So in that case I'...

How to calculate coordinate of binary iamges boundary??

It looks like the boundary is pretty solid and you probably just want the top row, not the sides and bottom. So in that case I'...

10日 前 | 0

回答済み

How to plot Intensity vs wavelength of an image?

In general, no, though attempts have been made with various assumptions about the illuminant and spectral responsivities of the ...

How to plot Intensity vs wavelength of an image?

In general, no, though attempts have been made with various assumptions about the illuminant and spectral responsivities of the ...

10日 前 | 0

回答済み

I need to plot circles with different radius and centers .Also I need to extract that information of centers and radius.

Try this. Adapt as needed. N = 10; % Define circle parameters. radii = 10 * rand(1, N); x = 10 * rand(1, N); y = 10 * rand...

I need to plot circles with different radius and centers .Also I need to extract that information of centers and radius.

Try this. Adapt as needed. N = 10; % Define circle parameters. radii = 10 * rand(1, N); x = 10 * rand(1, N); y = 10 * rand...

10日 前 | 0

回答済み

I want to find out how to get the angles between the centroids

Try title or text on the image axes: caption = sprintf('Angle = %.2f degrees', theta); title(caption, 'FontSize', 16); text(3...

I want to find out how to get the angles between the centroids

Try title or text on the image axes: caption = sprintf('Angle = %.2f degrees', theta); title(caption, 'FontSize', 16); text(3...

10日 前 | 1

回答済み

How can I undock the command window?

No. It's not a feature. I have many, many editor tabs open to different files. Click and drag the title bar of the command wi...

How can I undock the command window?

No. It's not a feature. I have many, many editor tabs open to different files. Click and drag the title bar of the command wi...

11日 前 | 0

| 採用済み

回答済み

Extracting (clearing) useful true data from a noisy temperature signal

Looks like you want to extract data only where the local range in y values is low. Here's a start: s = load('temps3-combinedlo...

Extracting (clearing) useful true data from a noisy temperature signal

Looks like you want to extract data only where the local range in y values is low. Here's a start: s = load('temps3-combinedlo...

11日 前 | 1

| 採用済み

回答済み

How to find percentage of Similarity between two logical matrices

Wouldn't it just be row = 168; col = 390; % Counting equal elements equal = c1==c2; % Number of equal elements equalCount ...

How to find percentage of Similarity between two logical matrices

Wouldn't it just be row = 168; col = 390; % Counting equal elements equal = c1==c2; % Number of equal elements equalCount ...

11日 前 | 0

| 採用済み

回答済み

connect marker with lines

You don't need all those hold on's, you just need one. Also don't use a for loop because that's plotting just one marker at a t...

connect marker with lines

You don't need all those hold on's, you just need one. Also don't use a for loop because that's plotting just one marker at a t...

11日 前 | 0

| 採用済み

回答済み

how can i imagie zoom with Convolution method

Convolution is fast and efficient. It's inserting the zeros that's going to be a pain, and slow. The final result is an interp...

how can i imagie zoom with Convolution method

Convolution is fast and efficient. It's inserting the zeros that's going to be a pain, and slow. The final result is an interp...

12日 前 | 0

回答済み

Is it possible to remove statements/lines from the command window (not everything)?

You can type clc to clear the window. Then you can type up arrow to execute only the commands you want to show in the window. ...

Is it possible to remove statements/lines from the command window (not everything)?

You can type clc to clear the window. Then you can type up arrow to execute only the commands you want to show in the window. ...

12日 前 | 0

| 採用済み

回答済み

I need help writing equation in matlab

This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

I need help writing equation in matlab

This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

12日 前 | 0

回答済み

Identifying blobs and area filtering

Try the attached. % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those o...

Identifying blobs and area filtering

Try the attached. % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those o...

12日 前 | 0

| 採用済み

回答済み

Randomly select one value from an Array.

No loop needed. Try this to get x cells randomly chosen from a cell array, A, of any dimensions randomIndexes = randi(numel(A)...

Randomly select one value from an Array.

No loop needed. Try this to get x cells randomly chosen from a cell array, A, of any dimensions randomIndexes = randi(numel(A)...

12日 前 | 0

回答済み

Array indices must be positive integers or logical values.

See the FAQ: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_integers_or_logicals.%22

Array indices must be positive integers or logical values.

See the FAQ: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_integers_or_logicals.%22

12日 前 | 1

回答済み

Automated Image Segmentation using imcontour.

Try thresholding: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those o...

Automated Image Segmentation using imcontour.

Try thresholding: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those o...

12日 前 | 1

回答済み

Coloring pixels with a specific color

You need to somehow get the gray scale image from the RGB image though, maybe like grayImage = rgb2gray(rgbImage); Then you ca...

Coloring pixels with a specific color

You need to somehow get the gray scale image from the RGB image though, maybe like grayImage = rgb2gray(rgbImage); Then you ca...

12日 前 | 0

| 採用済み

回答済み

MATLAB 2021a produces a compilation error on older MATLAB code.

I don't know. Maybe you're missing a file. How many dependent files are there? Do you want to see if I can compile it? If no...

MATLAB 2021a produces a compilation error on older MATLAB code.

I don't know. Maybe you're missing a file. How many dependent files are there? Do you want to see if I can compile it? If no...

12日 前 | 0

回答済み

Hello, what are the files that need to be installed to install MATLAB?

Looks like it's covered by the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_installer_crashes,_hangs,_gives...

Hello, what are the files that need to be installed to install MATLAB?

Looks like it's covered by the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_installer_crashes,_hangs,_gives...

13日 前 | 0

| 採用済み

回答済み

Determine available disk space

I didn't find any MATLAB functions but a java method works: >> free = java.io.File("D:").getFreeSpace() free = 4.6906e+10

Determine available disk space

I didn't find any MATLAB functions but a java method works: >> free = java.io.File("D:").getFreeSpace() free = 4.6906e+10

13日 前 | 1

回答済み

i would liek to find the peaks in a 3d plot, please find the 3d plot of an images, i want to calculate all the local minimas( valleys) of the given 3d plot

Try imregionalmin and imregionalmax.

i would liek to find the peaks in a 3d plot, please find the 3d plot of an images, i want to calculate all the local minimas( valleys) of the given 3d plot

Try imregionalmin and imregionalmax.

13日 前 | 0

回答済み

How to define the number of the column in which a variable corresponds

As soon as you assign A, B, and C, you can also create a dictionary so that later in your code you can recall what column they c...

How to define the number of the column in which a variable corresponds

As soon as you assign A, B, and C, you can also create a dictionary so that later in your code you can recall what column they c...

13日 前 | 0

回答済み

how do I calculate area, size and number of colored dots in an image then tabulate them?

I have no idea, not having seen your image. Maybe get rid of call to bwareafilt(). If you have any more questions, then attach...

how do I calculate area, size and number of colored dots in an image then tabulate them?

I have no idea, not having seen your image. Maybe get rid of call to bwareafilt(). If you have any more questions, then attach...

13日 前 | 0

回答済み

How would I split a vector in two based on the data values of 1 or 0?

vec = randi([0, 1], 43000, 1) mask = vec == 1; vec0 = vec(~mask); vec1 = vec(mask); whos vec0; whos vec1 % Or another way ...

How would I split a vector in two based on the data values of 1 or 0?

vec = randi([0, 1], 43000, 1) mask = vec == 1; vec0 = vec(~mask); vec1 = vec(mask); whos vec0; whos vec1 % Or another way ...

13日 前 | 0

| 採用済み

回答済み

How to mark threshold value in image histogram?

Try xline. Full Demo: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except th...

How to mark threshold value in image histogram?

Try xline. Full Demo: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except th...

13日 前 | 0

| 採用済み

回答済み

Try catch error 'Unrecognized function or variable'

The warning is that tmpInvoiceForm is never used, like it said. You assigned it, but so what? You then never use it in any oth...

Try catch error 'Unrecognized function or variable'

The warning is that tmpInvoiceForm is never used, like it said. You assigned it, but so what? You then never use it in any oth...

13日 前 | 1

回答済み

Image profile intensity for many pixels

DON'T name your image "image" since that is the name of a built in function. You can do % Get profile along that line and plot...

Image profile intensity for many pixels

DON'T name your image "image" since that is the name of a built in function. You can do % Get profile along that line and plot...

13日 前 | 0

| 採用済み

回答済み

Numerical Analysis of changes happening in subsequent image difference

Try this: % Specify the folder where the files live. myFolder = 'C:\Users\yourUserName\Documents\My Pictures'; % Check to mak...

Numerical Analysis of changes happening in subsequent image difference

Try this: % Specify the folder where the files live. myFolder = 'C:\Users\yourUserName\Documents\My Pictures'; % Check to mak...

13日 前 | 0

| 採用済み

回答済み

Help with iteration problem

See the FAQ: https://matlab.fandom.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_(or_similar)_not_equal_to_zero? Use ismembertol or abs ...

Help with iteration problem

See the FAQ: https://matlab.fandom.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_(or_similar)_not_equal_to_zero? Use ismembertol or abs ...

13日 前 | 0

回答済み

Identifying blobs and area filtering

I would try to get an image with no drops in it and then do a background correction by dividing by it. Then your global thresho...

Identifying blobs and area filtering

I would try to get an image with no drops in it and then do a background correction by dividing by it. Then your global thresho...

14日 前 | 0