Community Profile

# Wenyi Xiao

Active since 2019

#### Content Feed

View by

Question

How to draw cumulative histogram?
HI, My bins = [ 10 10 20 40 50 60 70 80 80 80 90 90 90 100 100 100 100 100 ] data = [ 4 8 14 35 49 55 66 74 76 78 ...

meer dan 3 jaar ago | 2 answers | 0

### 2

Question

How to draw histogram with known values and their ratio?
Row 2 is the ratio and Row 3 are X values. My question is how to draw a distribution plot with known X values and their speci...

meer dan 3 jaar ago | 1 answer | 0

### 1

How to set my legend to specific multiple lines?

meer dan 3 jaar ago | 0

| accepted

Question

How to set my legend to specific multiple lines?
colorspec = {[0.6350, 0.0780, 0.1840]; [0.4660, 0.6740, 0.1880] ; [0, 0.4470, 0.7410]; ... [0.8500, 0.3250, 0.0980]; [0.929...

meer dan 3 jaar ago | 1 answer | 0

### 1

Question

How to set the size of subplot?
I don't know why the location of my first subplot is weird. All parameter is default. How can I reset the ration of my firs...

meer dan 3 jaar ago | 0 answers | 0

### 0

Question

How can I add a line corresponding to my histogram bars?
I want to add a line like the blue one in this picture to my histogram. How can I do?

meer dan 3 jaar ago | 0 answers | 0

### 0

Question

I want to import images into matlab workspace, they should contain positive integers and zeros. If I use imread(), they will be ...

bijna 4 jaar ago | 1 answer | 0

### 1

Question

How to find positive values in 1500 matrices(720*1280)?
I've got a data like this. Each file contains zero and some positive values or all zeros. I want to find which matrix contain...

bijna 4 jaar ago | 2 answers | 0

### 2

Question

Convert cell arrays to 4-D array
I've got a 35*10 cell array, which contains multiple matrices with the same size(256*256). I want to convert it into a 4-D arr...

bijna 4 jaar ago | 2 answers | 0

### 2

Question

How can I mean multiple matrices, element by element in a n*n cell array?
I've got a data looks like this. size(16*6) cell array. I want to get the average of each columns, but keep the size of each m...

bijna 4 jaar ago | 1 answer | 0

### 1

How can I sort an array of structures based upon a particular field in MATLAB?
I've solved this problem by the function nestedSortStruct eeg_data_all{1,1} = nestedSortStruct(eeg_data_all{1,1}, 'subid'); %so...

bijna 4 jaar ago | 0

Question

How can I sort an array of structures based upon a particular field in MATLAB?
I've got a eeg_data_all(cell,size = 1*35), which contains 35*3 cells maybe. I want to sort these data by the 'subid'. How can ...

bijna 4 jaar ago | 1 answer | 0

### 1

How to change character in multiple cells in to number 0 and 1?
S = findgroups(Sex); I used this code, it works too!!!!! Thank you!

bijna 4 jaar ago | 0

Question

How to change character in multiple cells in to number 0 and 1?
I've got an excel file which contains a column for sex,'F' and 'M'. 'F' means female and 'M' means male. I used xlsread() to loa...

bijna 4 jaar ago | 2 answers | 0