Community Profile

photo

Lei


University of Calgary

Active since 2011

Statistics

  • Thankful Level 3

View badges

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

etwa 9 Jahre ago | 1 answer | 0

1

answer

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

mehr als 9 Jahre ago | 1 answer | 0

1

answer

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

mehr als 9 Jahre ago | 1 answer | 0

1

answer

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

fast 10 Jahre ago | 2 answers | 0

2

answers

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

fast 10 Jahre ago | 1 answer | 0

1

answer

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

etwa 10 Jahre ago | 2 answers | 0

2

answers

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

etwa 10 Jahre ago | 1 answer | 1

1

answer

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

etwa 10 Jahre ago | 1 answer | 0

1

answer

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

etwa 10 Jahre 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.

etwa 10 Jahre ago | 1 answer | 0

1

answer

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

etwa 10 Jahre ago | 1 answer | 0

1

answer

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

etwa 10 Jahre ago | 1 answer | 0

1

answer

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

etwa 10 Jahre ago | 1 answer | 0

1

answer

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

etwa 10 Jahre ago | 1 answer | 0

1

answer

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

etwa 10 Jahre ago | 1 answer | 0

1

answer

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

mehr als 10 Jahre ago | 1 answer | 1

1

answer

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

mehr als 10 Jahre ago | 0 answers | 0

0

answers

Question


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

mehr als 10 Jahre ago | 2 answers | 0

2

answers

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

mehr als 10 Jahre ago | 0 answers | 0

0

answers

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

mehr als 10 Jahre ago | 1 answer | 0

1

answer

Question


how to import repeating block data of text file in MATLAB?
Hi, i have a few datasets need to be processed, but i dont know how to import them to the matlab since I am a biginner of MATLA...

fast 11 Jahre ago | 1 answer | 0

1

answer