Why do I receive an error when using the DEC2HEX function in MATLAB 7.0 (R14)?
显示 更早的评论
When I type the following code:
dec2hex([[2,3,4];[7,8,9]])
I receive the following error:
??? Operands to the || and && operators must be convertible to logical
scalar values. Error in ==> dec2hex at 23 if ~isreal(d) || any(d < 0) ||
any(d ~= fix(d))
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!