Community Profile

photo

Yu Li


68 total contributions since 2018

Yu Li's Badges

  • Thankful Level 3

View details...

Contributions in
View by

Question


operation problem after use 'qlogin' in linux system
Hi: in the linux system, I log into a node and want to check the cores available for parallel computing, below is my code: ...

16 days ago | 0 answers | 0

0

answers

Question


anyway to read value of color column using data cursor
Hi: I have a scatter points x and y, and I colored them with c, below is the test code: [X,Y] = meshgrid(1:0.5:10,1:20); ...

29 days ago | 0 answers | 0

0

answers

Question


any way to add legend in bar plot like this?
Hi: is there anyway to add legend of a bar plot like below? i.e. put the bar plot on the left side and the legend on the ri...

2 months ago | 1 answer | 0

1

answer

Question


set editField 'invisible' in app-designer problem
Hi: I have a set of editField and I want to set them into 'invisible', the original display looks like below: ...

2 months ago | 1 answer | 0

1

answer

Question


cell part not saved using '-struct' option
Hi: I have a structure variable 'ImaInfo' like below: then I saved it into disk using '-struct' option, using co...

2 months ago | 0 answers | 0

0

answers

Question


use color bar as item in App-designer drop down list
Hi: I want to update my app-designer to select color, what I have now, is either to use color name ('r','b') or RGB value a...

2 months ago | 1 answer | 0

1

answer

Question


any easier way to find cell by string
Hi: I have a cell array like below: A{1}='test1a'; A{2}='test2a'; A{3}='test3a'; A{4}='test4a'; A...

2 months ago | 1 answer | 0

1

answer

Question


anyway to translate this command using 'cellfun'
Hi: I have a cell array like below: test{1}='1_xxxxx'; test{2}='2_xxxxx'; .... now I want to fine the...

2 months ago | 1 answer | 0

1

answer

Question


fieldnames not order as expected
Hi: I saved a serious of parameters in order into a matfile, but after I read it, the 'fieldnames' function does not return...

3 months ago | 0 answers | 0

0

answers

Question


anyway to get the RGB matrix of a Matlab Figure
Hi: I plot a figure using Matlab and then I need the RGB matrix of it, below are my workflow: 1. plot figure 2. p...

3 months ago | 0 answers | 0

0

answers

Question


anyway to adjust the figure with desired position
Hi: I plotted a figure but I want to adjust the position of the figure with the desired region(red rectangle shown below). ...

3 months ago | 0 answers | 0

0

answers

Question


any way to make annotation like this
Hi: I want to make an annotation with attached figures, is there anyway to do this in Matlab? Thanks! Yu

3 months ago | 0 answers | 0

0

answers

Question


problem with showing image in App-designer
Hi: I meet a problem while trying to show image in an app-designer below are my workflow: in a UIAxis, patch a squr...

3 months ago | 0 answers | 0

0

answers

Question


uigetfile for multiple type problem
Hi: I want to use uigetfile to pick files, the files needed have two types: 'abc*.mat' '*.dat' but when I use command: ui...

3 months ago | 1 answer | 0

1

answer

Question


any simplified way to get the length of each variable in structure
Hi: I have a structure, each element of the structure has a different size, which is what I neede. it is very eas...

3 months ago | 2 answers | 0

2

answers

Question


question about 'view' function
Hi: I have a question about 'view' function. https://www.mathworks.com/help/matlab/ref/view.html as can be found...

3 months ago | 1 answer | 0

1

answer

Question


how to get the RGB number from colorbar
Hi: I have a colorbar like below: or to simplify this question, I assume the color is from blue (RGB [0,0,1]) to r...

3 months ago | 1 answer | 0

1

answer

Question


data pick by given geometry
I have a set of scatter data, I want to do someting like below: use a given coordinate in the x-y system as input use this coo...

4 months ago | 2 answers | 0

2

answers

Question


marker size difference between 'plot' and 'scatter' function
if using the same size, the plotting result using 'plot' function and 'scatter' function are significantly different. to keep...

4 months ago | 1 answer | 0

1

answer

Question


anyway to compare date in Matlab
I have two file with the same name, but different location, for example: file1: D:/test/abc.m file2: E:/test/abc.m one of t...

4 months ago | 2 answers | 0

2

answers

Question


equality between different number of variables problem
I have a cell array and the size is changing. but I want to know wether all the cells are equal. Yes, if the size of the cell...

4 months ago | 1 answer | 0

1

answer

Question


anyway to set the location of number in colorbar
I have a figure with fixed size, since the size is fixed, the location of number sometimes exceed the limit, leading to imcomple...

4 months ago | 1 answer | 0

1

answer

Question


'movefile' does not delete source file in Linux system
according to the description of function 'movefile': https://www.mathworks.com/help/matlab/ref/movefile.html if the source fil...

4 months ago | 0 answers | 0

0

answers

Question


convert number to string problem
I have a column number, and I want to add some string in front of it, and assign it to items of a drop-down list in an App. ...

4 months ago | 3 answers | 0

3

answers

Question


plot scatter after line, anyway to make the scatter overlap the line?
Hi: I plot a scatter point after a line, the result looks like the line is crossing the scatter circle. is there any way to...

5 months ago | 0 answers | 0

0

answers

Question


any way to plot scatter-line with different symbol
is there anyway to draw a scatter-line figure with different symbol like below: Thanks! Yu

5 months ago | 2 answers | 0

2

answers

Question


uigetfile, is there anyway to choose multi suffix?
I need want to choose image files, the file type is either .jpg or .png, so I need to add an additional input to determine the f...

5 months ago | 1 answer | 0

1

answer

Question


show part of filenames using uigetfile
Hi: ther are lots of files with the same suffix, such as '.mat' in a folder, I have named them based on their features, for...

5 months ago | 1 answer | 0

1

answer

Question


string not recognized problem
I'm not sure if this title is approprite but I feel this is a very weird problem there is a string 'Cfi' in the string text_tmp...

5 months ago | 0 answers | 0

0

answers

Question


arrow length problem with 'quiver' function
I want to plot arrows using 'quiver' function along a circle, the circle is within a very small radius: ~0.02 the problem is ...

5 months ago | 1 answer | 0

1

answer

Load more