how can i split mtrix to three ?
조회 수: 15 (최근 30일)
이전 댓글 표시
hi
i have matrix m=153*71 i need to extract from it 3 matrices with dinsion 51*71 ?
댓글 수: 0
답변 (3개)
Image Analyst
2022년 1월 16일
Here is a similar question and answer:
댓글 수: 2
Image Analyst
2022년 1월 19일
Sorry that's not true. Look:
m = randi(99, 153, 5)
m1=m(1:51,:)
m2=m(52:103,:)
m3=m(103:153,:)
You can see that obviously they are not the same. You must have done something else to overwrite all the matrices with m.
RADWAN A F ZEYADI
2022년 1월 19일
댓글 수: 3
Image Analyst
2022년 1월 19일
So you have either 51 or 71 curves? If so, for each time point you can pass those values into fitdist() to get the distribution and CDF from which you can get the 2.5% and 97.5% values of the CDF which enclose 95% of the values.
If you can't figure it out, attach the matrix in a .mat file.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!