Community Profile

photo

Shang Gao


8 total contributions since 2017

Contact

Shang Gao's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


How do I tune a color scale to a matrix image?
Hi, I have a problem with my other programming tool and have to use MatLab to draw a 2D map with the specific color scale. The f...

12 mois ago | 1 answer | 0

1

answer

Question


How can I type inverse sign in axis labels?
I'd like to type something like in the picture in the x label text. Can someone tell me how to do that?

plus d'un an ago | 1 answer | 0

1

answer

Question


how to keep variable's value in a recursive function?
I have a recursive function that basically checks if one situation is true or false. I need to know how many times the case is t...

presque 2 ans ago | 1 answer | 0

1

answer

Question


How to identify different directions' periodic patterns in an image?
I have an image from my lab work. It has periodic pattern in three separate directions(120 degrees apart). As you can see, the d...

presque 2 ans ago | 0 answers | 0

0

answers

Question


How to control color and brightness for a vector map
Hi, I have a vector field with a 400x400 data point. Each point has a vector with a magnitude and direction. What I want to do i...

presque 2 ans ago | 1 answer | 0

1

answer

Question


How do I read a text file with certain format line by line with each line of different length?
I just come across a problem that requires reading a vertex-list weighted map. It is just simply a bunch of lines with each line...

presque 2 ans ago | 1 answer | 0

1

answer

Question


How can I get a vector out of a matrix?
Given a two dimension matrix, if I want to extract 3 elements with subsript (1,2) (2,4) (3,6) to form a vector, how I can I achi...

environ 2 ans ago | 1 answer | 0

1

answer

Question


How to crop a matrix based on its image?
I have a large matrix(hundreds x hundreds) that can be shown in the image below. What I want is to cut the matrix by the line in...

environ 2 ans ago | 1 answer | 0

1

answer