
DGM
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
RANK
32
of 284,394
REPUTATION
6,004
CONTRIBUTIONS
34 Questions
2,489 Answers
ANSWER ACCEPTANCE
61.76%
VOTES RECEIVED
703
RANK
1,163 of 19,204
REPUTATION
1,571
AVERAGE RATING
5.00
CONTRIBUTIONS
9 Files
DOWNLOADS
226
ALL TIME DOWNLOADS
9572
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Change variable name across code lines
This behavior might have changed in the newer versions, but I think I have a way that might work. If you look for a place whe...
17 hours ago | 0
| accepted
I need correction for following simple code of histogram equalization for the image.
It's sunday, so it's time to exercise boredom on dead questions. This is one of those questions where it's clear that the given...
2 days ago | 0
uint8 vs int8 in imshow
Imshow() is odd in that it does actually support int8 images. It seems most other IPT tools which are class-sensitive don't. A...
2 days ago | 0
Cyclic colormap for visualizing angles
Here's a comparison, for what it's worth. I'm using multiple FEX tools here, so obviously this won't run if you don't go get th...
3 days ago | 0
I want to compress large tiff file (1.5gb) to atleast 100mb or less to the same file type (tiff). I need to maintain the original resolution and metadata for co-ordinate points. Is there any built-in matlab function that i can use to solve this?
We can't afford to change depth, resolution, or use lossy compression; nor can we discard any extraneous metadata. Given that, ...
3 days ago | 0
How to convert image to binary text file?
The error is probably because you don't have write permissions to whatever directory you're trying to write to. You'll have to ...
3 days ago | 0
MATLAB Answers Wish-list #6 (and bug reports)
[looks up] I know this is a known desire, but it sure would be nice if editor-level users could move comments/answers between...
5 days ago | 0
How to fade contour lines without contour lines?
Not that this was ever answerable, but this replicates the given figure and provides two colorbars. I have no idea what "fading...
5 days ago | 1
CANNOT WRITE ON APP DESIGNER 2023a
This is a known bug. https://www.mathworks.com/support/bugreports/1797911 Here is a list of threads describing problems asso...
6 days ago | 0
How to plot two contour filled plots of two different datasets using different colormap and caxis range in the same axis?
I just threw together two different examples using the ways I mentioned. Neither is ideal. Manipulating contour() objects is j...
8 days ago | 0
| accepted
When calling a function or indexing a variable, use parentheses.
The error message tells you what to do. diag() is a function; [1 2 3] is a vector, so: diag([1 2 3])
9 days ago | 0
Changing orientation of 3D medical PET MRI images
What's wrong with just using shiftdim(), permute(), flip(), rot90() as needed?
9 days ago | 0
Help with error arrays have incompatible sizes
Don't use == to do string/char comparison. Use strcmp/strcmpi, or better yet, just replace the whole if/elseif chain with a swi...
9 days ago | 0
IHS triangular model for RGB image
There are a few things wrong here. First, the images are not RGB. One of them is indexed color, and the other is simply a gr...
9 days ago | 0
I want to make airfoil on Matlab..please tell me code of this
Any old airfoil, eh? Start by drawing any plane curve. x = [89 4 4 3 3 4 4 12 12 96 96 89 89 88 88 88 88 96 NaN 58 49 49 45 45...
12 days ago | 2
How to change the color intensity of an image?
If you want to adjust the red and blue components as the question asked, you can do that easily enough. inpict = imread('pepp...
12 days ago | 0
Find the average of two images
% all GIF files are indexed color % you must read the maps [im1 map1] = imread('Im1.GIF'); [im2 map2] = imread('Im2.GIF'); ...
13 days ago | 0
| accepted
Multiple image thresholding and measure distance
Nothing is going to be able to automatically read the background scale from an image like that. It's also not exactly square or...
13 days ago | 0
How to convert flowchart to MATLAB code ?
This is what I was squatting on. It's not a literal interpretation of the flowchart, but there's no good reason to use a litera...
13 days ago | 0
Rotation of colormap for ellipsoid
No code was provided, so we don't know how the objects CData relates to its ZData. We don't know what OP observed or expected, ...
13 days ago | 0
Plotting image color values-How to crop image
Barring the potential problems of using double() instead of im2double(), I see one problem with how you're using imshow(). If ...
14 days ago | 1
how to auto crop a image?
I'm not sure if this is about a white border or (if that's the case) whether figure capture was the cause. That said, I'm getti...
16 days ago | 1
Finding antenna gain curves/functions from an image
I strongly recommend manual transcription. Trying to automagically isolate the curve from the gridlines is going to be tedious,...
18 days ago | 1
MATLAB code for extracting temperature value from BMP format image followed by background removal
An estimate of the colormap can be derived from the image. inpict = imread('https://www.mathworks.com/matlabcentral/answers/upl...
19 days ago | 0
I didn't know how to find r
Walter hinted at a symbolic approach to a tangential junk question-as-comment. I figured I'd provide an answer covering both be...
22 days ago | 0
Removing the background from imagesc image.
Different colormap examples: Z = im2double(imread('bbbb.png')); % background is at the bottom of the map imagesc(Z) colorm...
24 days ago | 0
Removing the background from imagesc image.
What are your actual goals? What do you want in the areas you "removed"? Is the background actually an image? Is the foregroun...
24 days ago | 0
Keyboard input is not working in Matlab GUIs on Ubuntu 18.04
As @Amy already mentioned, the broken UI elements (edit boxes, dropdowns) is a longstanding bug that is here to stay. https://w...
24 days ago | 1
how to get matlab code to detect a changes from 0 to 1 in a binary mask?
Depends what you mean by "find pixels where the mask goes from 1 to 0" % the mask mask = imread('tinyblobs.png'); imshow(mask...
28 days ago | 0
Ihave got a matlab code for patch extraction of an image. please explain the algorithm behind that code
To answer @R Sai Kiran's question: If we assume the following: the intent is to pad the tiles with white aspect ratio should ...
28 days ago | 0