photo

raym


Last seen: 3 months ago Active since 2017

Followers: 0   Following: 1

Message

Statistics

All
MATLAB Answers

75 Questions
27 Answers

File Exchange

9 Files

Cody

0 Problems
1 Solution

RANK
2,480
of 300,321

REPUTATION
25

CONTRIBUTIONS
75 Questions
27 Answers

ANSWER ACCEPTANCE
65.33%

VOTES RECEIVED
19

RANK
11,776 of 20,913

REPUTATION
38

AVERAGE RATING
5.00

CONTRIBUTIONS
9 Files

DOWNLOADS
8

ALL TIME DOWNLOADS
187

RANK
118,376
of 168,093

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Revival Level 2
  • Thankful Level 4
  • 5-Star Galaxy Level 2
  • Solver
  • Explorer
  • First Review
  • First Submission
  • First Answer

View badges

Feeds

View by

Question


How to merge red and blue images on white background with transparency
There are two images. Image 1 is some red signal on white background, image 2 is blue signal on white background. Is there a wa...

4 months ago | 3 answers | 0

3

answers

Question


How to disable matlab's figure menu's response to Alt button in R2016a?
I am writing callback for ALT+right click, but found that it works only 50% of times: one succeed and one failuter alternate, a...

7 months ago | 1 answer | 0

1

answer

Question


Using imagesc and text: the highest number does not label the text in a very specific dataset.
A weird bug in imagesc and text: the highest number does not show text in R2016a in a very specific dataset: % the following co...

7 months ago | 0 answers | 0

0

answers

Question


imagesc output: how to re-update the matrix image only, but keep other things intact, including colorbar, axis tick, axis label, annotation, text...?
Hi, I want to update the imagesc generated figure window, just update the pixel matrix values of same dimension size, but keep o...

7 months ago | 1 answer | 1

1

answer

Answered
How to find the period between group of regularly spaced hot-spots?
[a,aBinCenter] = hist(Data,1000); a_gauss = imgaussfilt(imgaussfilt(imgaussfilt(a,10),10),10); [Ypk,Xpk] = findpeaks(a_gauss);...

9 months ago | 0

| accepted

Question


How to find the period between group of regularly spaced hot-spots?
I have a group of numbers with values enriched at uniformly regularly spaced hot-spots. There is no other information availabl...

9 months ago | 2 answers | 1

2

answers

Question


Why the squeeze function squeeze 1x3 array to 1x3, but squeeze 1x1x1x3x1 to 3x1?
>> size(squeeze(rand(1,1,1,3,1,1,1))) ans = 3 1 >> size(squeeze(rand(1,1,3,1,1,1))) ans = 3 1 >> size(squeeze(ra...

10 months ago | 3 answers | 1

3

answers

Question


Is there a function to tell if Matlab is using little-endian or big-endian on current computer?
Is there a function to tell if Matlab is using little-endian or big-endian on current computer?

10 months ago | 2 answers | 0

2

answers

Question


Why the start point of boundingbox of regionprops is not integers, but offset with 0.5?
I am trying to use the boundingbox to create the index to crop the tile, but find that the start position is not integer. Can I...

11 months ago | 1 answer | 0

1

answer

Question


uicontrol of pushbutton cannot set text color
% Create a figure fig = figure; % Create a uicontrol button with red color btn = uicontrol('Style', 'pushbutton', 'String...

1 year ago | 1 answer | 0

1

answer

Question


questdlg button: how to show multiple lines as choice?
When I set the optional answers for questdlg, a prolem is that if the string is too long, the dialogue will be too wide. I am s...

1 year ago | 0 answers | 0

0

answers

Question


figure resize behavior control: from bottom or from top
Hi, I encountered a problem when I resized a figure: The aim of resizing is to manually drag the top/bottom boundary to adjust t...

1 year ago | 1 answer | 0

1

answer

Question


How to work with Java 9 Platform Module System (JPMS) runtime image from within Matlab?
Matlab could add the jar files into javaclasspath and call the methods inside the jars. However, from Java9, there is another wa...

1 year ago | 0 answers | 0

0

answers

Question


The blank before var >0.5 cause error in R2016a
I found a strange behavior in R2016a command line. The additional blank before > cause problem: >> aAreaVec = rand(5,1) aAreaV...

1 year ago | 2 answers | 0

2

answers

Question


Is there a uicontrol to let user rearrange rows of strings?
The aim is to show several rows of strings, and let the user freely sort the strings by drag. The listdlg cannot let the user t...

2 years ago | 1 answer | 0

1

answer

Question


How to undo axis(gca,'image')
I use imagesc to show a demo: imagesc % a photo shows, with blank on top, stretchable by the resize of the window axis...

2 years ago | 1 answer | 0

1

answer

Question


get(gca,'DataAspectRatio') does not refelct the real pixel ratio, and does not upate after stretching the figure window in default auto mode.
Hi, I am using imagesc to show a matrix and want to get the aspect ratio of pixels at that time: C = [0 2 4 6; 8 10 12 14; 16 1...

2 years ago | 1 answer | 0

1

answer

Answered
Generate DICOM file sequence from Matlab
Yes this SeriesInstanceUID and StudyInstanceUID solved my problem. I think to get 3D volume you may need other parameters like...

2 years ago | 0

Answered
H5F.close(fid) flush was delayed, and cause problem when calling h5create afterwards
solved by H5F.flush(fid,'H5F_SCOPE_GLOBAL') H5F.close(fid)

2 years ago | 0

| accepted

Question


H5F.close(fid) flush was delayed, and cause problem when calling h5create afterwards
Hi, I am using low-level H5 commands to create a h5 file and do something on it, then close it. Then I use h5 high-level funct...

2 years ago | 1 answer | 0

1

answer

Question


Sort or place several points into the nearst point in an unknown a x b grid, and get each point's (i,j) index in the grid.
Hi I encountered a problem when I try to allocate K points into a horzontal/vertical grid of unkonwn size. Suppose there are va...

2 years ago | 1 answer | 0

1

answer

Answered
WindowButtonMotionFcn cannot be changed in later time
I found the reason: zoom yon this command modifies the pan callbacks into an temporary status, thus modification of pan callba...

2 years ago | 0

| accepted

Question


WindowButtonMotionFcn cannot be changed in later time
Hi, I am creating a figure and customize the pan-function: function hFig = mouse_figure ... hFig = figure; set(hFig,... ...

2 years ago | 1 answer | 0

1

answer

Question


textscan(fid,'%s','delimiter',{'\r','\n'}) lost a Tab located in the very beginning of 1st row of text file
Hi, I am using textscan to read a tsv file. This tsv file has an empty cell in the {1,1} position, but the textscan lost this t...

2 years ago | 1 answer | 0

1

answer

Question


bsxfun @times the row sum and @rdivide the (1./row sum) does not produce same results
Hi, I am using bsxfun to divide a matrix by row sum. That is to say, each number is divided by the sum of row it is located. I ...

2 years ago | 2 answers | 0

2

answers

Question


listbox cannot make it select single or none, it has to be single or multiple.
Hi,I am using listbox to select item. The aim is to select only one, or no select. I set min to 0 and max to 1, but the ui doe...

2 years ago | 1 answer | 0

1

answer

Question


imagesc is missing several rows of pixels when image has 1780 rows of pixel
% Simple demo to reproduce the bug. % Purpose: show 2000x300 image by imagesc with yticklabel, % then do "Y-only" zoom fo...

2 years ago | 0 answers | 0

0

answers

Question


stop and re-start timer inside TimerFcn cause pseudo-multiple parallel duplicated timer (in fact only 1 timer exist) running.
I start a timer and need to update the Period property during the running when some condition was met. inside (I put the code ...

2 years ago | 0 answers | 1

0

answers

Answered
Programmatically performing "Expand axes to fill figure"?
works not very well if there are text or annotation created outside the plot area as they will be partially cropped. axis tickl...

3 years ago | 0

Question


keypress callback in figure works but always send a copy of key to matlab command line afterwards
Hi,I am writing a callback to a figure: f=figure; imagesc(rand(56,67)) % set(f,'KeyPressFcn',[]); set(f,'WindowKeyPressFcn',...

3 years ago | 0 answers | 0

0

answers

Load more