Community Profile

photo

Yu Li


Active since 2016

Statistics

All
  • First Review
  • First Submission
  • Thankful Level 2

View badges

Content Feed

View by

Submitted


color map from blue to red
a color map from blue to red

3 years ago | 2 downloads |

Thumbnail

Question


empty plotting using contourf
Hi: I have a data set of X,Y,Z, which corresponds to x,y axis, and paremeter need to be plotted but when I use [xc,yc]=contou...

3 years ago | 1 answer | 0

1

answer

Question


contour matrix empty in contourf
Hi: I have a X,Y,Z matrix, and use command [xc,yc]=contourf(new_X,new_Y,new_Z); to plot a contour plot. The xc is empty, bu...

3 years ago | 0 answers | 0

0

answers

Question


get computer IP problem
I use command [status,result] = system('arp -a'), to get the IP address of my computer. there are lots of IP in the variable 're...

3 years ago | 1 answer | 0

1

answer

Question


what is this symbol? looks empty but not.
I use command: [status,result] = system('arp -a') to get the IP address in my machine, then I want to organize these info into a...

3 years ago | 1 answer | 0

1

answer

Question


contourf plot different display problem
I want to draw a contour plot, the data is similar, the colormap is the same (created by jet(17)), and the data range is the sam...

3 years ago | 0 answers | 0

0

answers

Question


set color in contour plot with specified colormap
I have a contour plot with only two value (3 and 5 for example), thus it should appear only two colors. but I have a colormap...

3 years ago | 1 answer | 0

1

answer

Question


load specified column in matfile too slow
I have a matfile with size of: 5e6*50. I want to write a code to load the specific column into my memory, but I found that th...

3 years ago | 1 answer | 0

1

answer

Question


colorbar for specified color
Hi: I want to add a colorbar in Matlab like below: is there anyway to do this in Matlab? <</matlabcentral/answers/uploa...

3 years ago | 1 answer | 0

1

answer

Question


append non-compression data to matfile problem
I want to append a variable to a existed .mat file, but Matlab occurs error: Nocompression not supported for this MAT-file ve...

3 years ago | 1 answer | 0

1

answer

Question


GPU performance significantly slow when running multiple MATLAB
Hi: I have a code using GPU calculation, when it used by 1 MATLAB, it runs OK. but when I open two MATLAB.exe in my comput...

3 years ago | 1 answer | 0

1

answer

Question


multiple cprintf in parallel loop problem
I want to print a secetence with different color in the command windows using 'cprintf': https://www.mathworks.com/matlabcent...

3 years ago | 1 answer | 0

1

answer

Question


cprintf not working in parallel situation
Hi: I downloaded a color print function in this link: <https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-...

3 years ago | 1 answer | 0

1

answer

Question


save problem: -STRUCT must be the name of a scalar structure variable
I generated a struct file and tried to save it, but Matlab occurs error: The argument to -STRUCT must be the name of a scalar st...

3 years ago | 2 answers | 0

2

answers

Question


Saving performance to different drive (hard drive, SATA SSD, M.2 SSD)
I did a saving test, to continuously append data into a exist .mat file. I tested the code using: 1. 7200 rpm hard drive. ...

3 years ago | 0 answers | 0

0

answers

Question


Append data to matfile using parallel method
Hi: I have a lots of data that needs to be saved into a test.mat file, below are my test code: x=rand(10000,1); ...

3 years ago | 2 answers | 0

2

answers

Question


parallel computing sig problem
Hi: I have a for-loop, which is very long (over 500 line for example). now I'm able to optimize it into parallel computing. ...

3 years ago | 1 answer | 0

1

answer

Question


anyway to save figure as uint8 format
Hi: I want to make an animation with lots of figures. what I did is: (1)write a for-loop to generate the .jpg file. (2)...

3 years ago | 1 answer | 0

1

answer

Question


rotate figure by transposing matrix in contourf problem
Hi: I want to rotate the contour plot by transposing the matrix. but the potted figures are observed to be the same. I'm no...

3 years ago | 1 answer | 0

1

answer

Question


convert jpg file to animation problem
Hi: I tried to convert a series of jpg files to a movie. but the created .avi file could not be open. I attached the sampl...

3 years ago | 0 answers | 0

0

answers

Question


print function with contour too slow
Hi: I met a problem using 'print' function to print contour to 'jpeg' file. I found some suggestions in web: <https://www.ma...

3 years ago | 1 answer | 0

1

answer

Question


clear function does not work
Hi: After my code finished, I see that the Matlab occupied about 20GB memory. I tried to clear them but failed. I have tried...

3 years ago | 1 answer | 0

1

answer

Question


check parameter used by function with large memory
Hi: I ran my code and found that after a certain time the memory is occupied by nearly 50G. I want to find the parameters whi...

3 years ago | 3 answers | 0

3

answers

Question


text in colorbar display
Hi: I have a contour plot and a colored with a colorbar, but the exponential is inside the plot, is there anyway to refine ...

3 years ago | 1 answer | 0

1

answer

Question


distance of points to points calculation
Hi: I have two set of 2D scatter points, says A and B, I need the minimun value of each points in A to B. for example...

3 years ago | 1 answer | 0

1

answer

Question


same matrix but not equal problem
I have two matrix: C and C1, they are totally the same, but when I used isequal(C,C1) Matlab returns 0. could anyone h...

3 years ago | 2 answers | 0

2

answers

Question


(App Designer) set the dropdown with variable
I'm new to Matlab App Designer. I created a drop down buttom and want to set it with desired string variables. I set like bel...

3 years ago | 1 answer | 0

1

answer

Question


fialed to install MinGW compiler
Hi: I failed to install the C/C++ compiler in Matlab. below are my steps: in Matlab window, use Add-Ons, search the MinG...

3 years ago | 0 answers | 0

0

answers

Question


delete variable from matfile problem
Hi: I want to delete the variable fro matfile, and I found the answer in the web below: <https://www.mathworks.com/matlabcent...

3 years ago | 1 answer | 0

1

answer

Question


low resolution using 'visible off' and save the figure
Hi: I met a problem with the display of the figure resolution between the figure plotted by Matlab and figure saved to my PC...

3 years ago | 0 answers | 0

0

answers

Load more