litthorse

挑出data中第一列为3的部分另存为data1:

data1=data(find(data(:,1)==3),:)

find(data(:,1)==3)返回第一列中所有3所处行的索引向量

 

分类:

技术点:

相关文章:

  • 2021-10-01
  • 2021-09-18
  • 2022-12-23
  • 2021-12-12
  • 2021-12-07
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2021-09-11
  • 2021-12-05
  • 2021-12-12
  • 2021-12-12
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案