Answered
Don't know how to fix error.
It doesn't like the blank line after the ... Get rid of it and have this: win = any(sum(X) == s) || any(sum(X') == s) || ... ...

en dag ago | 0

| accepted

Answered
Feature extraction on dicom images
Try searching the vision literature: http://www.visionbib.com/bibliography/contents.html See the search link at the bottom of ...

en dag ago | 0

Answered
Changing the frequency of an array does not work always
In freq= input(frequency) what is frequency? Some string you defined to ask the user for the frequency? Please show how you ...

en dag ago | 1

| accepted

Answered
primary school question!
Truncation error due to double's only using 64 bits instead of an infinite number of bits. It will be off a very small amount, ...

en dag ago | 0

Answered
Wha'ts wrong with this?
Like it says, x must be a double, not a sym. f is a sym since x was (I'm guessing since I don't have the Symbolic Toolbox.) So...

en dag ago | 1

Answered
How to create a melody ?
Well first of all, your y is a single number - a scalar - not a complete waveform as it should be when passed into soundsc(). T...

en dag ago | 0

Answered
Matrix output from for loop showing only last iteration values
You need to index it with the frame number, like [objArea,objCentroid(frameNumber, 1:2),bboxOut] = step(hBlobAnalysis,Z);

2 dagar ago | 1

Answered
How to hinder ongoing spamming II?
This is one sick individual. Now they just created a profile with the name per isakson: https://www.mathworks.com/matlabcentra...

2 dagar ago | 0

Answered
How to create lines and calculate their lenghts
Jordan: Why not do it for ALL widths (every single line of the blob), rather than just 10? Just simply do verticalProfile = s...

2 dagar ago | 0

Answered
how to use "getframe" commander for making animation video.
See attached demo.

2 dagar ago | 0

Answered
I keep getting "Array indices must be positive integers or logical values."
A thorough discussion is in the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subscript_indices_must_either_be_real_positive_integ...

2 dagar ago | 0

Answered
Segmentation Violation on Centos 7.6.1810
See the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_ru...

3 dagar ago | 0

Answered
How to loop both years and months simultaneously?
Is Datam a function? Looks like it's a 2-D matrix, not a function. What do the rows and columns of Datam represent? Attach Da...

3 dagar ago | 0

Answered
Can I detect if there are red pixels in a picture? (picture included)
I'd try the Color Thresholder App on the Apps tab of the tool ribbon.

3 dagar ago | 1

Answered
How to trace the boundray of object in an image using MATLAB?
Try this: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase all e...

3 dagar ago | 0

Answered
how can i solve this function
You can use roots() to find the solutions. Then simply put roots() into a function and call it in a script. a = 3; b = .........

3 dagar ago | 0

Answered
Correlating through specific rows in matrix
Not exactly sure what you're after, but how about this: counter = 1; for i = 1 : 100 : 1700 row1 = i; row2 = row1 + ...

3 dagar ago | 0

| accepted

Answered
Cant understand how the values are stored
You forgot to attach the .mat files so we can't do much. The first row of the val matrix stored in the mat file is extracted an...

3 dagar ago | 1

| accepted

Answered
How to generate two independent white noise
You say "Since they are independent, their cross-correlation must be "0" for all time lags theoretically." This is incorrect. ...

3 dagar ago | 0

Answered
4th degree question ploting
Try this: Ctg =[0.322; 0.122; 0.084; 0.053; 0.031; 0.01]; t =[0; 20; 40; 60; 80; 100]; plot(t, Ctg, 'ko', 'LineWidth', 2, 'Ma...

3 dagar ago | 1

| accepted

Answered
How to trace the boundray of object in an image using MATLAB?
If you want to manually trace some boundary. Use drawfreehand(). If you have a binary image and you want an image of the perim...

4 dagar ago | 0

Answered
cod for linear equation
The solution is in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_fit_a_circle_to_a_set_of_XY_data.3F

4 dagar ago | 0

Answered
How can I apply a natural logarithm to an image?
Did you try ln_image =log(mat2gray(image))? By the way it's a terrible idea for them to tell you to use the word "image" for yo...

4 dagar ago | 0

| accepted

Answered
How to access a struct through a field name.
It shouldn't be a problem with what you've shown since every structure in the structure array has a unique value for the symbol ...

4 dagar ago | 0

Answered
Get file name and path of the file when I browse with a button
Try this: % Have user browse for a file, from a specified "starting folder." % For convenience in browsing, set a starting fol...

4 dagar ago | 0

Answered
How do I call the elements in an array to be counted?
Try this count = 1; while sumCheck(count) <= 9 count = count + 1 end fprintf('Exited loop when count = %d and sumCheck(...

4 dagar ago | 0

Answered
linear fit in plot
Add this: hold on; plot(x, curve, 'b-', 'LineWidth', 3);

4 dagar ago | 0

| accepted

Answered
for loop execution error
While the original code iter1 = 1:9; y_div_1 = 4; y_div_2 = 5; y_div_3 = 3; y_div_4 = 6; y_div_5 = 3; y_div_6 = 4; y_div_7 = 5...

5 dagar ago | 0

Answered
Output of -RGBimage seems to have changed, any help?
Try theImage = getimage(gca); or else frame = getframe(gcf) figure; imshow(frame.cdata); axis off

5 dagar ago | 0

Answered
How to change a part of the histogram of an image in MATLAB
You cannot remove pixels, you can only change them to a different value. What new value do you want to assign pixels that have ...

5 dagar ago | 0

Load more