how to get data from location?

2 次查看(过去 30 天)
andrew
andrew 2014-1-16
评论: andrew 2014-1-16
I have the following dataset
  • Loc||Quad|| value
  • 1 |a| 1
  • 2 |b| 2
  • 3 |a| 3
  • 4 |a| 1
  • 5 |b| 2
  • 6 |a| 2
  • 7 |a| 9
  • 8 |b| 11
  • 9 |a| 10
  • 10 |a| 12
  • 2 |b| 2
  • 3 |a| 3etc
How do I just get the information based on the quad. In other words how do I just print out all the data (loc, quad and value)that is in quad 'a' and for quad 'b'.
  2 个评论
Walter Roberson
Walter Roberson 2014-1-16
When you say "dataset" do you mean MATLAB's dataset() object? How is the data stored in MATLAB? For example is it a cell array?
andrew
andrew 2014-1-16
it is stored in a cell array

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by