Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个里面有数组的单元格数组,我该如何绘制这个?
data = {[1,2], [5,6], [9,15]}
我想像点一样绘制数组。
P(x,y) = P(1,2) P(x,y) = P(5,6)
等等
这应该可以解决问题:
mat = reshape(cell2mat(data),2,size(data,2)); scatter(mat(1,:),mat(2,:));