Community Profile

# Lei

### University of Calgary

Active since 2011

#### Content Feed

View by

Question

How to use prctile in grpstats?
Hello, I am using the grpstats function to get some statistic based on groups; however, I have trouble to use prctile for the w...

alrededor de 9 años ago | 1 answer | 0

### 1

Question

How to compare a matrix row by row with specified condition
Hello, everyone. I have a data matrix like this A=[ 5 0 10 15 0.021 5 0 15 20 0.011 10 15 5 0 0.022 ...

más de 9 años ago | 1 answer | 0

### 1

Question

How can I compare row by row to get rid if reciprocols and get corresponding indices
hello, I have a data matrix looks like below. A=[4 5 0 0 0 10 0 15 0 0.19218 4 5 0 0 0 15 0 20 0 0.06548 4 5 0 0 0 20 0 ...

más de 9 años ago | 1 answer | 0

### 1

Question

How to save specified data from a matrix?
hello, everyone. I am wondering how can I *delete specified data from a data matrix*. For example, if I have a matix like th...

casi 10 años ago | 2 answers | 0

### 2

Question

how to store data in a matrix
Hello everyone, I have problem about how to store data in a matrix. Here is my code,aparently, theres problems. a=5; ...

casi 10 años ago | 1 answer | 0

### 1

Question

how to extract spikes from a figure
Hello, eveyone. I am processing some borehole data, but I have a problem now. After I plot the data, the figure has many spi...

alrededor de 10 años ago | 2 answers | 0

### 2

Question

how to plot data points with different color in scatter plot?
hello,everyone. I have a very large matrix, thousands of rows and 15 columns. Now i wanna analyze four variables(columns). I use...

alrededor de 10 años ago | 1 answer | 1

### 1

Question

How to change ylabels in a for loop
Hello everyone, I have a simple for loop to plot 7 different plots, but the ylabel should be different. for k=1:7; ...

alrededor de 10 años ago | 1 answer | 0

### 1

How to change two columns of a matrix?
A(:,[i,j])=A(:,[j,i]);?

alrededor de 10 años ago | 0

| accepted

Question

How to change two columns of a matrix?
Hello,everyone If i have a matrix A with dimension of 200*14. How can I switch column 2 with column 13? Thanks.

alrededor de 10 años ago | 1 answer | 0

### 1

Question

How to compare two vectors with different dimensions to get logical array?
Hello, I have two vectors with different dimensions. To make it simple,lets say A=[775.4; 770.2; 690;...] is n by 1 and B i...

alrededor de 10 años ago | 1 answer | 0

### 1

Question

How to index a cell with two columns?
Hello, everyone. I have a cell which looks like this: 775.446000000000 774.706000000000 774.706000000000 773.2460000000...

alrededor de 10 años ago | 1 answer | 0

### 1

Question

How to meet two true conditions in a single loop?
hello.everyone. I wrote a code to extract lithology depth information using strcmp function. However, this one has problem becau...

alrededor de 10 años ago | 1 answer | 0

### 1

Question

How to index a cell
Hi everyone, I have a text file and I imported it with textscan, but i have problem to index cell. Anybody would like to give a...

alrededor de 10 años ago | 1 answer | 0

### 1

Question

How to extract data meet specified condition from a matrix?
Hello everyone, I have a text file which looks like below DLS: 16-24-48-26W4 747.88 746 Sandstone DLS: 16-24...

alrededor de 10 años ago | 1 answer | 0

### 1

Question

How to plot a map using GPS coordinates-mainly show the survey line!
Hello, anyboday knows how to plot a map by using GPS coordinates? The coordiates are as follows: Northing Eas...

más de 10 años ago | 1 answer | 1

### 1

Question

how to add top x axis tick?
I have a plotyy plot, and I want add a top x axis which will be the same as the bottom one. I tried to use box on, but this one...

más de 10 años ago | 0 answers | 0

### 0

Question

subplot hoe to add a tile?
subplot, how can I add a total title? neglect gtext. anyknow knows a better way? thankx

más de 10 años ago | 2 answers | 0

### 2

Question

subplot: how to align ylabels?
I have a subplot, subplot(2,2,1),subplot(2,2,2)..etc so I have a total of 4 plots, but my ylabels are not aligned. Anybody kno...

más de 10 años ago | 0 answers | 0

### 0

Question

unable to import data with textscan
I tried many times to import a file with textscan, but there's always some problem. i.e. the data didnt display correctly. He...

más de 10 años ago | 1 answer | 0