Convert the input to a cell array, but only if necessary.
If the input is a string, return a 1-by-1 cell array containing the string. If the input is a cell array of strings, return the input unaltered.
Number of Horns on a unicorn!
Fahrenheit to Celsius converter
Number of digits in an integer
Area of a circle
Multiply by 3
Numeric array to cell array of strings (easy)
Change a specific color in an image
Extra safe primes
Assign matrix elements to separate variables
Create an 8-color version of an image
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