Community Profile

photo

Yu Li


72 total contributions since 2018

Yu Li's Badges

  • Thankful Level 3

View details...

Contributions in
View by

Question


anyway to transfer data from matlab workspace to appdesigner
Hi: I want to develop an app based on the data in the workspace. is there anyway to do it like 'cftool'? i.e. once I open t...

2 days ago | 0 answers | 0

0

answers

Question


cprintf not work in linux command window
Hi: I noticed that function 'cpirntf' does not work in Linux command window, below is what I did: 1. open a command wi...

7 days ago | 1 answer | 0

1

answer

Question


how to show selection of property using 'Tab' in self-developed function
Hi: I see for some Matlab function, such as 'colorbar', if I want to pick an location, I can use 'TAB' and some selection ...

11 days ago | 1 answer | 0

1

answer

Question


question regarding 'copyfile' function from folder to folder
Hi: I tried to use 'coypfile' function from folder to folder. assuming I have file a.txt, b.txt in folder 'A', and ...

19 days ago | 1 answer | 0

1

answer

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

2 months 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); ...

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

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

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

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

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

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

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

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

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

4 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

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

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

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

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

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

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

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

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

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

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

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

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

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

6 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

6 months ago | 2 answers | 0

2

answers

Load more