how to resolve this program
显示 更早的评论
I have 2 matrix, i.e dataNID(1000x20) and A(1x20). I compare the A with dataNID. ans1 is less than and ans2 is morethan. these 2 matrix (1000x20), I am getting logically. but if I write program for values of particular logic then it is showing all values in a single column. but i need all value in the respective columns. here is the code
ans1= (dataNID < A);
ans2= (dataNID > A);
value1= dataNID(ans1);
value2= dataNID(ans2);
please help me.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Fluid Network Interfaces Library 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!