Community Profile

photo

DGM


Last seen: Today Active since 2015

Followers: 3   Following: 0

Hi, I'm nobody. I don't belong here, but I have nothing better to do. Matlab used to be part of my work. Now it's part of my hobbies. That's pretty sad, really.

Statistics

All
  • 36 Month Streak
  • Thankful Level 5
  • Solver
  • Personal Best Downloads Level 4
  • GitHub Submissions Level 3
  • Editor's pick for Answers
  • Most Accepted 2022
  • Ace
  • Most Accepted 2021
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 5

View badges

Feeds

Answered
Can the software read more precise numbers (such as decimal points)?
If you're worried about accuracy, then the answer is to stop, go back to the original data and work with it, not what appears to...

16 hours ago | 1

Answered
How to manually remove the unwanted data dots or lines in a graph?
Use bwareafilt() (or maybe bwareaopen()) on the mask before creating the composite image.

19 hours ago | 1

Answered
Image segmentation using thresholding
Since we're playing guessing games, here's my guess. % you might have an actual image, but all we have is a screenshot inpict ...

5 days ago | 0

Answered
How do I crop an image outside of box?
I guess I can try this in the forum editor at least. %% Step 1: Read Images % Read the target image containing a cluttered sce...

6 days ago | 0

| accepted

Answered
how to find area and volume from a .stl file?
Your STL, like many scans, is not a closed surface, and it has defects. According to admesh, it has 180 disconnected edges and ...

7 days ago | 2

Answered
how to compare answers ,which student chose it in answer sheet with answer key
Since there are no requirements at all, I choose to interpret the task in whatever way is dictated by the sum of whimsy and laz...

8 days ago | 0

Answered
How to mask pixels of certain ndvi values?
Here's my guess. % idx is apparently some sort of label array where the labels are unknown % so this simply figures out which ...

10 days ago | 0

| accepted

Answered
how to Identify the centre of atom
Here's a start. % the original image inpict = imread('image.png'); inpict = im2gray(inpict); % crop out the subimages A0 ...

13 days ago | 0

| accepted

Answered
AI Chat Playground generated an interactive plot with a slider and a bug
Try just updating the existing line object instead of creating new line objects. % Create the UI figure fig = uifigure('Name',...

13 days ago | 1

Answered
I want to change the backgroung color of image into transparent and then work with the pixels of it
I'm still confused as to what information is important, so I'm just going to throw out what I have in notes. This is in part ba...

13 days ago | 0

Answered
How can find connected region in RGB images?
This answer demonstrates how to generate a mask by box (range) or ellipsoid (distance) matching in RGB given a target color tupl...

13 days ago | 0

Answered
Undefined command/function 'reshape'.
Again, I have no idea what variations might exist between files. I also don't really know how far you want to go with changing ...

14 days ago | 0

| accepted

Answered
How Can I Clearly Identify Differences? and How to Save and Display Data in Full Decimal Format?
I'm going to assume that you're entering them into excel by trusting that format long will reveal the entire number. It won'...

17 days ago | 0

| accepted

Answered
Tracking Min & Max Values in 2D Contour Plot
I don't know how your data is arranged or how you're plotting it, but you should be able to just use plot(). I assume you have ...

17 days ago | 0

| accepted

Answered
Generate 3D model from a 2D image
While I'm waiting for MATLAB to load, I'm going to throw this out there. https://www.mathworks.com/matlabcentral/answers/1926...

17 days ago | 0

Answered
how to let a "plot" immune on any later " hold off" once this "plot" is created.
Here's one idea. r=10; plot([-35,35], [0,0], 'r-.' ) axis equal hold on % just create a dummy plot object to be used in...

18 days ago | 0

| accepted

Answered
use rgb to caculate three brown ratio
The question is unclear. This seems to be what was attempted, but it doesn't make sense given the question statement. inpict =...

18 days ago | 0

| accepted

Answered
RGB or HSV
I keep seeing this thread and every time I wish I could ask what the question meant. It's conflating a bunch of terms which the...

19 days ago | 0

Answered
I made a folder with 12 .fig files, I am attempting to convert these to jpeg using a loop.
Maybe something more like this. D = dir('Figures/*.fig'); % use dir() to get directory contents for K = 1:numel(D) hf = o...

20 days ago | 0

| accepted

Answered
Develop a matlab program that generates a 10x10 array of random integers and uses appropriate flow-control structures to search the grid and determine the maximum and minimum
Want to see if your TA can tell you didn't do your own homework? Here's a fair test. [~,A] = system('od -vAn -N200 -tu2 < /dev...

20 days ago | 1

Answered
How to draw an histogram?
See histogram() and histcounts() A = randn(150,150); % normally distributed random numbers histogram(A) % looks like a gaussia...

21 days ago | 1

Answered
Plot sequence of images on top of a trajectory
Here's a start. Note that the alignment is just guesswork on my part. Also, I don't know why there's a frame offset between th...

21 days ago | 0

| accepted

Answered
How to Extract Data from Contour Image?
As far as I'm concerned, you'd do it the same way you'd extract the lines. Manually. https://www.mathworks.com/matlabcentral...

22 days ago | 1

| accepted

Answered
Calculate the derivative of a function using forward, backward, and central difference.
Here are two similar questions, both with good answers. https://www.mathworks.com/matlabcentral/answers/213823-forward-backward...

23 days ago | 0

Answered
how can i change image brightness ?
https://www.mathworks.com/matlabcentral/answers/347448-how-to-increase-the-brightness-of-an-image

24 days ago | 0

Answered
how can I make the dilation and erosion process on the image in the cleanest way?
I'm not sure, but I imagine there are better ways of approaching this type of image. This is just something I came up with by o...

24 days ago | 0

Answered
How Do I Implement Histogram Normalization for RGB Image?
Unless you're converting your image to unit-scale floating point, then these operations will destroy the image. inpict = imrea...

24 days ago | 0

Answered
How to divide an image into non-overlapping blocks?
This has been asked and answered a bazillion times, so I'll just throw this out there again. If the goal is to subdivide an ima...

26 days ago | 0

Answered
CONVERT TEXT TO IMAGE
Old question, but let's approach this from the specifics of the original use case. We want a small image of some text. Trying ...

27 days ago | 0

Answered
How to change scale of y-axes of an image displayed with imagesc?
imagesc() supports the specification of the x and y ranges. I don't know what your x range should be, but since this example im...

27 days ago | 0

| accepted

Load more