답변 있음
I can't understand what my mistakes are
Looks like line 6 is really not empty. Maybe scroll to the right to see if there is a - on that line. Also t(2,1) I think is a...

대략 1년 전 | 1

답변 있음
Sir, how to find area & coordinates of white pixels in binary image?
To get all the rows and columns of the white pixels, you can do [rows, columns] = find(binaryImage); You'll get two vectors an...

대략 1년 전 | 0

답변 있음
how to crop a binary mask to remove all black pixels while maintaining the largest area of white pixels?
With a shape that is not rectangular you cannot "remove" ALL black pixels. However you can crop the image if you want (like to ...

대략 1년 전 | 0

Discussion


Smart MATLAB savvy dogs
Attaching the Photoshop file if you want to modify the caption.

대략 1년 전 | 2

답변 있음
Insufficient number of outputs from right hand side of equal sign to satisfy assignment. Error in extraction (line 32) [f0,idx] = pitch(x,fs,Method="SRH",WindowLength=win
The function called pitch() returns more than the 2 outputs that you are requesting. It takes 3 or more. What does the functio...

대략 1년 전 | 0

답변 있음
PCA on an image
See my attached demo where I compute the principal components of an image.

대략 1년 전 | 0

답변 있음
Trouble with installing package on offline computer
Contact Mathworks by phone for all installation related questions. It's free and immediate.

대략 1년 전 | 0

답변 있음
MATLAB Code Solution Assessment
I recommend that you do not do that (check for exact syntax of their solution). Why not? Because your answer is not the only, ...

대략 1년 전 | 1

답변 있음
Why does MATLAB get stuck in the "Initializing" or "Busy" state or take a long time to start?
Also see the answer Ethan got from tech support on this issue: https://www.mathworks.com/matlabcentral/answers/2053342-why-does...

대략 1년 전 | 2

답변 있음
How to count the amount of small squares in this picture?
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

대략 1년 전 | 0

답변 있음
How would find the average within each region?
Try (untested) function blockMean = recursiveSplit(img, origin, sizeBlock, threshold) % Extract the current block x = origin(...

대략 1년 전 | 0

| 수락됨

답변 있음
how can i read letters from an input and make them numbers to make an array from those numbers
Try this: validInputs = {'AB', 'BC', 'CD', 'DE', 'AD'}; selectedIndex = listdlg("PromptString",'Select an option', 'ListString...

대략 1년 전 | 0

답변 있음
How can I adjust the settings so that the following heatmap retains most of the details?
Please change the subject line of your post because it's not informative. You can set the heatmap to whatever you want. If l...

대략 1년 전 | 0

답변 있음
i need help with this code please
You can use the AI Chat Playground to get you started. https://www.mathworks.com/matlabcentral/playground?s_tid=gn_mlc_playgr...

대략 1년 전 | 1

| 수락됨

답변 있음
Identifying and extracting clusters of points from image
If you know the number of clusters, then kmeans or knnsearch might be the way to go, or even SVM (support vector machine). If y...

대략 1년 전 | 0

답변 있음
cannot find function even it is in path
If you try to run a script that is not in the current folder or on the path, it will popup a message prompting you to change the...

대략 1년 전 | 0

Discussion


Difference between gray and grey
To convert a color image to grayscale, use rgb2gray, or is it rgb2grey? https://blogs.mathworks.com/loren/2016/04/01/the-quee...

대략 1년 전 | 3

답변 있음
How to make a stem graph to display less points?
Use axis % Make t axis go from -3 to the maximum. axis([-3, max(t)]); If you have any more questions, then attach your data a...

대략 1년 전 | 0

| 수락됨

답변 있음
Can MATLAB plot a graph like this? (Ignore the black lines and light blue areas; I only care about the red and blue points.)
Instead of bubble chart, try scatter where you can specify the color and size of each marker.

대략 1년 전 | 0

답변 있음
Finding slope of a curve at some specific points
Wouldn't the average velocity just be the total displacement divided by the total time? I don't see why you need to compute the...

대략 1년 전 | 0

답변 있음
I just want to keep track of the object I selected.
The Computer Vision Toolbox has some tracking capabilities. Look them up.

대략 1년 전 | 0

답변 있음
How to identify such functions as addpath that are coming with MATLAB?
@Henning Søgaard and @Paul, try this: % Demo by Image Analyst to notify user if one of their m-files % is also a built-in func...

대략 1년 전 | 0

| 수락됨

Discussion


MATLAB Ornament
Christmas season is underway at my house: (Sorry - the ornament is not available at the MathWorks Merch Shop -- I made it wit...

대략 1년 전 | 9

답변 있음
Speoial character in struct fieldname
Have them start with a letter and use underscores instead of dots. fn = {'v0_05', 'v0_10', 'v0_15', 'v0_20', 'v0_25', 'v0_30', ...

대략 1년 전 | 0

답변 있음
MATLAB will not open in MacOS Sequoia15.1
If you don't get an answer here today, then I suggest you call tech support tomorrow for installation support. Do exactly what ...

대략 1년 전 | 0

답변 있음
How to identify such functions as addpath that are coming with MATLAB?
Are you trying to find out what functions are called in your code so you can determine what toolboxes are needed, and which of y...

대략 1년 전 | 0

답변 있음
I have an error using walsh. It says
I recreated your problem: >> walsh Execution of script walsh as a function is not supported: C:\Users\Mark\Documents\MATLAB\w...

대략 1년 전 | 0

답변 있음
Why did the MATLAB runtime application worked improperly
Did a console window pop up? Can you look there for error messages? If it went away, then make sure your mcc is not using the ...

대략 1년 전 | 0

답변 있음
How do I extract data from a structure using a for loop?
Not really. Fields are not ordered by number. They have names. What is the name of the "final" field in the 10 upper level fi...

대략 1년 전 | 0

답변 있음
How to save and load all the states of checkboxes and etc
See the Official Mathworks support answer: https://www.mathworks.com/matlabcentral/answers/523768-how-to-save-restore-state-of-a...

대략 1년 전 | 0

더 보기