Undefined function or method 'ge' for input arguments of type 'struct'.
1 次查看(过去 30 天)
显示 更早的评论
I get error on line aa= find(RVI>=0 & RVI <0.2);Do I need to load my mat file in some other way?
A=load('A.mat')
B=load('B.mat')
C=load('C.mat')
aa= find(A>=0 & A <0.2);
x1 = B(aa);
y1 = C(aa);
scatter(x1,y1,'MarkerFaceColor','g','MarkerEdgeColor','g');
0 个评论
采纳的回答
Azzi Abdelmalek
2014-12-19
编辑:Azzi Abdelmalek
2014-12-19
A=load('A')
A=cell2mat(struct2cell(A))
%or
q=fieldnames(A)
out=A.(q{1})
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!