I have some problem in matlab since I was new in this programming language. Okay here it is :
页: 1
1
1
1
3
4
4
4
5
6
6
7
7
9
9
9
9
9
It s only 1 column matrix. I want to divide the matrix into two groups with some scalar value. Is I choose 5 as the scalar so my matrix will be divide into two groups higher than 5 and lower than 5 :
预期结果:
下矩阵:
1
1
1
3
4
4
4
5
高级矩阵:
6
6
7
7
9
9
9
9
9
我已尝试使用<代码>max和min
的指挥系统,但该指挥系统保持基体大小,将所有低于Scalar (5)的号码改为5。 这个问题自下个步骤以来,我想总结一下每个下层和更高的矩阵。
Could you suggest me some trick? Many thanks