Cody
When the input is true, return 'on', otherwise, return 'off'.
The problem statement is misleading. 'if x' and 'if isequal(x, true)' are different conditions.
Clean the List of Names
616 Solvers
2 b | ~ 2 b
307 Solvers
Getting logical indexes
579 Solvers
05 - Vector Equations 3
253 Solvers
Check if equal
125 Solvers
Wayfinding 1 - crossing
18 Solvers
Make a KITT-scanner on the command line
6 Solvers
Wrap a vector, but insert NaN's at the wrap-positions.
13 Solvers
Order of things - 4
2 Solvers
Power supply: 230V to 115V
68 Solvers
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office