Answered
Help in plotting a graph
Try this: numPoints = 1000; x = linspace(0.03, 0.09, numPoints); y = linspace(15, -10, numPoints); plot(x, -12*ones(numPoint...

3 years ago | 0

Answered
i have detected a object in a scene image , now i want to find centroid coordinates of this object in a whole image . How do i get this ?
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

Answered
Is it possible to programmatically get a list of all file dependencies included in my standalone application (Matlab Compiler )
I use my attached function. Obviously it only finds functions called by your functions. Even if you hard coded some filename i...

3 years ago | 0

Answered
How can I plot columnar grains?
Perhaps the Volume Viewer app on the Apps tab of the tool ribbon.

3 years ago | 0

Answered
Importing multiple files using a loop
See the FAQ document for code snippets: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

3 years ago | 0

Answered
Skipping iteration on child throwing a warning
You can use try catch: for k = 1 : 200 try % In the try block put the code that might throw an error. catch ...

3 years ago | 0

Answered
How determine prime numbers after checking if they're odd
Since z is a vector, try using a for loop over all z and checking each element one at a time.

3 years ago | 0

Answered
looking for the Matlab file "ESG_s26.mat"
If you have the financial toolbox, it's in C:\ProgramData\MATLAB\SupportPackages\R2023b\examples\finance\data

3 years ago | 0

Answered
I need a little help with tables.
Like some of the others said, the code is working in that it does give numbers in column 2 in between -5 and 5 (if that's what y...

3 years ago | 0

Answered
Rotate one image and plot on top of another
Try creating a new image by replacing only the parts of the rotated one where it's not white. Like mask = TrunkAngle_Rotation ...

3 years ago | 0

Answered
How to make horizontal and vertical axis in matlab plot?
Try this: % Method #1: figure; x = -4:11; y = 90 - 15 * x; plot(x, y, 'b-', 'LineWidth', 2); grid on; xlabel('x'); yla...

3 years ago | 5

Answered
transform infinite plane into finite circular plane
Perhaps try rescaling the appropriate variables with rescale.

3 years ago | 0

Answered
please i want to implement this formula in matlab
What input values did you supply? What output values did you get and what was expected? It's hard to follow your code because ...

3 years ago | 1

Answered
Need help plotting the parabolic signal
Hint: n = linspace(0, 10, 1000); Then stem. The derivatives can be computed analytically from the formula for n (what I'd do)...

3 years ago | 0

Answered
how can we represent a pixel to a character in image ?
Hints: imread, rgb2gray, imshow, imresize, fprintf, size. With a double for loop over rows and columns and those 6 functions, y...

3 years ago | 0

Answered
Real Football Draft Order Adventure
Here's some help: To learn fundamental concepts, invest 2 hours of your time here: MATLAB Academy - Free 2 hour training T...

3 years ago | 0

Answered
Smooth data on a Sloping wall
I'd try to rotate the wall so that it's perfectly vertical or horizontal. Then use movmean or conv2 to blur it. Then rotate it...

3 years ago | 0

Answered
Trying to fix error 353 or error 1616 'no more activations available' but cant deactivate old copy on a crashed machine
You can deactivate from the Mathworks website. Just login and go to your account and look for a link that lists your licenses a...

3 years ago | 0

Answered
I want my line graph to Overlap
Try this to reposition the legend from the default location to a location that you find more desirable. % Plot something. plot...

3 years ago | 0

Answered
What criteria should be used to select the number of images used in image processing for detection the drawbacks of any surfaces?
It depends on your situation. So I'm presuming you have some ground truth that tells you whether the algorithm gave the correct...

3 years ago | 0

Answered
How to have MATLAB provide picture output from a typed sentence
Use a dictionary to find the image file name corresponding to the word. For example the word "speak" might correspond to the "s...

3 years ago | 0

Answered
Overall intensity calculation from an image
Not sure what you mean by overall intensity. You can get the red channel like this redChannel = rgbImage(:, :, 1); % Get sum ...

3 years ago | 0

| accepted

Answered
Edge tracing - left side only
@Carolina Vazquez try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (exce...

3 years ago | 1

| accepted

Answered
green arrow for current line and variable values not displaying during debug pause at breakpoint
So it stopped on line 68 but there is no green arrow pointing to that line? It could be some kind of display adapter issue. Wh...

3 years ago | 0

Answered
When are previous version of MATLAB at end of life?
Not sure but those are new enough that they are still supported. If you did have like a 15 year old version, it would probably ...

3 years ago | 0

Answered
my license check failed for cytomap. Please help?
What license? Can you run MATLAB at all, even before trying to run Cytomap? If so, I'd recommend you contact the author: http...

3 years ago | 0

Answered
my detector shows multiple bounding boxes .
I don't know what your detector does or how it operates or even what function you called. However maybe you can run through the...

3 years ago | 0

Answered
How to make a nonperiodic signal periodic?
How about making it for one chunk, and then using repmat to make copies of it? You can't go from t → -∞, +∞ but you can go for...

3 years ago | 1

Answered
insert two vertical axes (left and right) into the same bar graph
Wow, that is confusing. As a consumer of your data visualization, that would be very confusing for me to interpret. What I'd...

3 years ago | 1

Answered
Return largest number of decimal places in a vector of numbers
All double numbers have the same number of decimal points, unless they're rounded, because they're all 64 bit numbers. Watch: ...

3 years ago | 0

Load more