Community Profile

photo

Wenyi Xiao


Active since 2019

Statistics

  • First Review
  • Thankful Level 1

View badges

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

2 years ago | 2 answers | 0

2

answers

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

2 years ago | 1 answer | 0

1

answer

Answered
How to set my legend to specific multiple lines?
l(ses)=line(onset_res.clustermaskneed{ses,P}(2,:),onset_res.clustermaskneed{ses,P}(1,:),'Color', colorspec{ses},'LineWidth',1.2)...

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 0 answers | 0

0

answers

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?

2 years ago | 0 answers | 0

0

answers

Question


How to read images with positive integer? No imead()
I want to import images into matlab workspace, they should contain positive integers and zeros. If I use imread(), they will be ...

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 2 answers | 0

2

answers

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

2 years ago | 2 answers | 0

2

answers

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

2 years ago | 1 answer | 0

1

answer

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

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

2 years ago | 1 answer | 0

1

answer

Answered
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!

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

2 years ago | 2 answers | 0

2

answers