if at least one number > in cell
1 次查看(过去 30 天)
显示 更早的评论
I have cell {1x7}
C{1}{1}=[ 5.4000 8.3000 15.8000]
C{1}{2}=[ 9.9000 10.7000 13.600]
C{1}{3}=[ 5.5000 8.9000 15.5000]
C{1}{4}=[ 9.7000 11.0000 13.9000]
C{1}{5}=[5.7000 8.1000 15.1000]
C{1}{6}=[9.4000 10.5000 13.0000]
C{1}{7}=[9.9000 13.2000 13.7000]
number=6.6;
if C{1}{1}> as number stored to W{1}, if no stored do W{2}
Thanks.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!