Community Profile

photo

DGM


Last seen: Today Active since 2015

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
  • Guiding Light
  • 3 Month Streak
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 4
  • Explorer
  • Thankful Level 2
  • First Answer
  • Personal Best Downloads Level 3
  • First Review
  • First Submission

View badges

Content Feed

View by

Answered
plz help how can use go to in MATLAB
I'm going to guess that the nonzero content of the "truth taple mapping" vector is supposed to correspond to the locations where...

10 hours ago | 0

Answered
how can i do this?
Here, at least this can possibly run. Truth_Taple_mapping = {'T' '0' '0' '0' 'G' '0' '0' 'G' '0'}; dna_stego={'ATG' 'TCG' 'AT...

19 hours ago | 0

Answered
multiple a vector by a scalar using dot error
I guess I already mentioned this, but A = num2cell(reshape(1:70,10,[])) A{2:2:end,7} % this expression has multiple outputs (m...

20 hours ago | 0

Answered
Findd non nun values indexes in every row of a matrix
You could do this: A = [1 1 1 NaN 1 1 1 1 1 1 2 2 2 2 NaN 2 2 ...

22 hours ago | 0

Answered
given a contour returned by contourf,how to display the pixel values within a region
Why are you trying to get the pixel value of a contour map? The pixel values of the contour map don't tell you anything about t...

1 day ago | 1

Answered
How does imresize 'Antialiasing' work?
If I recall from digging through the code before, it mentions using a modified kernel to simultaneously interpolate and antialia...

1 day ago | 1

| accepted

Answered
Get number after colon
I don't know that I'd bother trying to directly operate on the table. Maybe there are tools that make that easier, but I never ...

1 day ago | 0

| accepted

Answered
What frustrates you about MATLAB? #2
I keep being reminded of this every time I accidentally destroy my own work or have to process someone else's crusty images. ...

1 day ago | 0

Answered
How to get clean and high resolution images for figures
I know everyone already mentioned it, but I feel the need to emphasize it whenever I can. Unless you understand what settings ...

2 days ago | 2

Answered
Could anyone help me how to save the bar graph in png format.
I'm not sure what you mean by "while the command executes", but... An example: y = [2 2 3; 2 5 6; 2 8 9; 2 11 12]; bar(y) ap...

2 days ago | 0

| accepted

Answered
Getting an array of points along an arc
This is basically the same as this answer, but maybe the explanation helps a bit: https://www.mathworks.com/matlabcentral/answe...

4 days ago | 0

Question


Plots have defect when saved from axes context menu in R2019b
I ran across this issue when trying to answer a question for someone else: https://www.mathworks.com/matlabcentral/answers/8856...

4 days ago | 0 answers | 0

0

answers

Answered
Writing 3D array to BMP file
imwrite() doesn't support multipage/multiframe BMP files, because (as far as I know), the format specification for BMP doesn't a...

4 days ago | 0

| accepted

Answered
Sudden error "Unidentified function or variable"
Did you read what the error message said? Unrecognized function or variable 'X'. Error in untitled (line 3) Z1 = zeros(1, len...

5 days ago | 0

| accepted

Answered
How can I mark points of the period length on stem of cos?
You're running into problems because your sampling rate means that your samples (other than the first one) don't neatly line up ...

5 days ago | 0

| accepted

Answered
how to define that function in matlab
I could bark out the boilerplate response for low-effort copypasted homework questions, but I'm out of breath today. Let's sett...

5 days ago | 0

Answered
I want to shorten a string.
You can use regexp() on either strings or chars. timestamp = 'Start=2021-06-11T:12:32:04:122'; out = regexp(timestamp,'(?<=:...

5 days ago | 0

Answered
extract the intersection of two matrices
I have a feeling that the range of data in B isn't what you think it is. Using the compositing method involving -1 is probably ...

7 days ago | 0

| accepted

Answered
Unable to display cropped image in the image axes properly
I'm not sure if you realize that you're starting an interactive imcrop() session. imshow(imcrop(M),'parent',handles.axes2); ...

7 days ago | 0

| accepted

Answered
How to construct a "ones" matrix with zero blocks in the diagonal
This display is going to get cut off, but this should serve as an example. A = ones(4); B = 1 - blkdiag(A,A,A,A)

7 days ago | 0

| accepted

Answered
circle problem, circumscribed to another circle and the area, area per image detection
This could be improved or elaborated, but it's a simple start: % let's assume that 1px = 1 square meter r = 400; C = rand(10,...

8 days ago | 0

| accepted

Answered
How to combine and rgb and a thermal image?
Let's just start with concatenation. We have two test images: an RGB visible image and a single-channel thermal image. How I m...

8 days ago | 0

| accepted

Answered
Chang a color in an image to black
Improving selectivity of the orange mask is really only half the battle; you'd need to also restrict the red mask to keep them ...

10 days ago | 0

| accepted

Answered
Error: Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-41.
It's unclear what your intentions are. If I assume you're trying to do this all elementwise WRT h, then you missed an index: p...

10 days ago | 0

Answered
How to display multiple ROI (masks) in different colors on one image?
I know this is probably too late to help, but consider this: fontSize = 16; Image = imread('Report_Picture.png'); [rows, colu...

11 days ago | 0

Answered
Help correcting the sequence function
% if you're asking the user for a number, use a clear description % "sequence matrix" doesn't tell anyone what the number mea...

11 days ago | 0

Answered
Contourf colorbar color range
If you want a discrete colormap with nonuniformly-spaced breakpoints, you're going to have to make one. You're probably using a...

11 days ago | 0

Answered
This the main file for hill cipher
uhh okay? f = 1; But if you really want my advice, asking the user to input a bunch of things one element at a time using in...

12 days ago | 0

Question


How to find one's own comments on File Exchange
I recall being able to see a list of my own comments and comments i've received on my FEX submissions. Given that FEX comments ...

12 days ago | 0 answers | 0

0

answers

Answered
Unable to draw just the boundary of an image
Well, you're loading a grayscale image subject to destructive compression as a jpg file. At no point do you explicitly threshol...

12 days ago | 0

| accepted

Load more