Community Profile

# DGM

Last seen: Today 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.

All

배지보기

#### Content Feed

보기 기준

답변 있음
How do I change the colour in each sector depending on the angle?
I don't know about how to wrangle patch() to do it right. It probably can, but I don't have that much hair to spare. This is a...

약 13시간 전 | 0

| 수락됨

답변 있음
Number of pixels while modifying freehand on a figure
Here is a very simple example inpict = imread('cameraman.tif'); % show image and make ROI imshow(inpict); R = drawfreehand...

약 20시간 전 | 0

답변 있음
i want to remove black color from my image and make the background transparent so that i can paste it on another image... can anyone help?
Let's start simple. Assume you have two single channel (I) images of the same class. % generate test images for foreground and...

1일 전 | 0

답변 있음
Vector from character array
Something like this A = {'high','low','low'}; B = strcmp(A,'high') Bear in mind that this only tests whether elements of A co...

2일 전 | 1

| 수락됨

답변 있음
the absolute bleed edge fastest way to strip out bits from 4 bytes of hex

3일 전 | 0

| 수락됨

답변 있음
A chi-square distance or Euclidean distance?
By default, the distance metric used by pdist2() is the Euclidean distance. If you want to use chi-square distance, there's a...

3일 전 | 0

답변 있음
binary vector to a signed int
I don't have the toolbox needed for hextobinaryvector(), but I assume the binary vector is just that. Given this solution: ht...

3일 전 | 0

| 수락됨

답변 있음
How to sketch the given solid and its condition?
For simple visualization, it's often sufficient to just truncate the surfaces by setting the excess values to NaN. % plot dom...

3일 전 | 0

답변 있음
[newbie] I was given a code with vectors/matrices and don't exactly know the meaning of vars/parameters
Just looking at the question lines: %[a,b,nvec]=size(codeb_start); % ??? what is nvec, couldn't find exact meaning (new vector?...

3일 전 | 0

답변 있음
Issue reading (or?) writing transparency data from PNG with transparent background and feathered edges.
Imshow() and most things in IPT aren't really set up to handle RGBA data directly in any convenient way. This is an example of ...

3일 전 | 1

| 수락됨

답변 있음
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...

5일 전 | 0

답변 있음
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...

5일 전 | 0

답변 있음
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...

5일 전 | 0

답변 있음
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 ...

5일 전 | 0

| 수락됨

답변 있음
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...

6일 전 | 1

답변 있음
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...

6일 전 | 1

| 수락됨

답변 있음
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 ...

6일 전 | 0

| 수락됨

답변 있음
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. ...

6일 전 | 0

답변 있음
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 ...

6일 전 | 2

답변 있음
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...

6일 전 | 0

| 수락됨

답변 있음
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...

8일 전 | 0

질문

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...

8일 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
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...

8일 전 | 0

| 수락됨

답변 있음
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...

9일 전 | 0

| 수락됨

답변 있음
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 ...

9일 전 | 0

| 수락됨

답변 있음
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...

9일 전 | 0

답변 있음
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,'(?<=:...

9일 전 | 0

답변 있음
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 ...

11일 전 | 0

| 수락됨

답변 있음
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); ...

11일 전 | 0

| 수락됨

답변 있음
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)

11일 전 | 0

| 수락됨