Answered
How to find node coordinates for the provided honeycomb structure as shown in picture below
I'm not sure the image you posted has enough resolution in the small hexagons to resolve them. If you have a much higher resolu...

3 years ago | 0

Answered
Objects Segmentation in the images
Maybe try imextendedmax or imextendedmin You may have to end up just manually splitting them apart with drawline. Watershed tr...

3 years ago | 0

| accepted

Answered
Write a program that K, B and M are constant and supplied by the user input. Use T as the ending time value that solutions are sought ( also entered by the user when calling the function.
This snippet to ask the user for input may help: % Ask user for two floating point numbers. defaultValue = {'45.67', '78.91'};...

3 years ago | 0

Answered
Binary image and edge images are not displayed
To get the edges from your segmented image, you can use bwperim (to get an image) or bwboundaries (to get a list of (x,y) coordi...

3 years ago | 1

| accepted

Answered
Does an exsting license for "Statistics Toolbox" include Machine Learning, or is this a new product that needs purchased
I agree, the first/accepted Answer was not written by an actual human -- it's ChatGPT that someone posted. You can tell because...

3 years ago | 1

Answered
Suppose i have a matrix (2x4) A=[1 2 3 4;5 6 7 8] and i want to change it into this matrix [1 2;3 4;5 6;7 8]. How to do that?
@Payel this is super basic. You're not going to get very far, very fast if you have to ask Answers volunteers every time you wa...

3 years ago | 0

Answered
Sir, How to extract color and shape features for a leaf image?
Search for the tag leaf. There have been so many in the past and I've given code for lots of them. https://www.mathworks.com/m...

3 years ago | 0

Answered
Increase one of the dimensions of an array
Try interp3 help interp3 Something like (untested) [rows, columns, slices] = size(img) z = linspace(1, slices, 2 * slices); ...

3 years ago | 1

| accepted

Answered
writting a code on an earthqauke structure need help to understand how to write for defelction points
Why do you think it would have that function already? It's not a built-in function. You have to actually write it. If you thi...

3 years ago | 0

Answered
How to find aximum value in a particular day
Did you try groupsummary? Something like (untested) dayNumber = data(:, 3); rot = data(:, 5); dailyMaxima = groupsummary(rot...

3 years ago | 0

| accepted

Answered
while fitting my model data to experimental data the resultant curve is shooting very high and is not matching with experimental time points, even on changing ub and lb
Are you just trying to fit this equation: cd(i) = (1- 0.0683) * exp(-0.0240*(t(i) - 6.48)) + 0.0683; If so use fitnlm. I'm at...

3 years ago | 0

Answered
May I ask how to read and display 3D point clouds in the app designer of MATLAB
Did you make an axes and call plot3 or colorcloud?

3 years ago | 0

Answered
Data is being graphed as line instead of sin wave
Should be okay but it looks like you're only plotting time/x. You need to plot y/position as a function of that. timeData = [....

3 years ago | 0

Answered
Deactivate product from old devices
Then just simply call tech support on the phone. Ask for Tech Support->Installation

3 years ago | 0

| accepted

Answered
How can one distinguish the background from the foreground and detect the edges of the seedling?
This is pretty trivial. Simply use the Color Thresholder on the Apps tab of the tool ribbon. Use it and export the function. ...

3 years ago | 0

Answered
Edit/deleted the question
There are plenty of submissions in the File Exchange for plots with broken axes (skips or gaps in the axis): https://www.mathwo...

3 years ago | 0

Poll


The glass is ...

3 years ago | 6618 votes | 9 comments

Answered
How to take the middle of a list?
Try this: a = [1 2 3 4 5 6 7 8 9 10 1 2 3 8 9 10 88 83 99]; b = [ 8 9 10 ]; % Find starting indexes where b is in a: indexes...

3 years ago | 0

Answered
A little help with translating a piece of Fortran code to Matlab
Not sure if you're trying to read or write stuff, but will this work for you: fileName = 'testtext.txt'; dataContents = import...

3 years ago | 0

Answered
Best method for automated transformation mapping for accurate projection of brain atlas masks onto tissue images in MATLAB?
You might be able to figure out how to use imwarp to morph the outer boundary of the image into the outer boundary of the map, a...

3 years ago | 0

Answered
Boundaries in an image
See the FAQ to get code snippets for processing a sequence of files: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_seq...

3 years ago | 0

Answered
Histogram analysis for images with changing objects
I doubt those histogram stats will help you, but who knows? What is happening in the image? Is the shape something you think i...

3 years ago | 0

Answered
How shal I do to get a toolbox of statiscal in my computer?
If you've purchased it, or your university supplies it, it should automatically be installed when you install MATLAB. Type this...

3 years ago | 0

Answered
Extract the "overall colors" of an image to apply another?
The best algorithm I've seen for transferring the color gamut is Mark Grundland Color Histogram Specification by Histogram Warpi...

3 years ago | 1

Answered
Read files in a folder with dates on them
How about something like this to sort by the 3 letter month string: months = {'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', ...

3 years ago | 1

Answered
Read files in a folder with dates on them
How about something like this to sort by file time/date stamp: folder = pwd; % Wherever you want. filePattern = fullfile(folde...

3 years ago | 1

Answered
How to get the spatial summation of temperature inisde the specific ROI on each image and how to find that information for a series of thermal images and store as text file.
See my Thermal image to temperature demo in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose de...

3 years ago | 0

Answered
how to create log histogram?
Try stackedplot, subplot, tiledlayout, and nexttile

3 years ago | 0

Answered
Matlab crash dump - Unknown exception 0xe0434f4d
2014b is pretty old. Are you using Windows7 32 bit? Or a modern 64 bit system? See if you can get the publisher to recompile t...

3 years ago | 0

Answered
compute the probability for three events
I suggest you run a Monte Carlo experiment. Just use rand, and run the experiment around a million times and look at what you g...

3 years ago | 0

Load more