Why do I receive an error when using the DEC2HEX function in MATLAB 7.0 (R14)?
Ältere Kommentare anzeigen
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))
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Whos finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!