Community Profile

photo

Shang Gao


Active since 2017

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

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

5 years 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?

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

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

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

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

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

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

6 years ago | 1 answer | 0

1

answer