Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN MATLAB 3. (I0 points) Braille, named after its creator Louis Braille, is a tactile writing system used by the visually impaired. Braille characters have
IN MATLAB
3. (I0 points) Braille, named after its creator Louis Braille, is a tactile writing system used by the visually impaired. Braille characters have rectangular blocks called cells that have tiny bumps or raised dots. The number and arrangement of these dots distinguish one character from another. The standard Braille table for alphabets a through z is shown in Fig. 4 Figure 4:The Braille table for English alphabets a through z (from en.wikipedia.org/wiki/English_Braille) Write a function called convertToBraille that accepts a string of English alphabets as input and returns the corresponding Braille translation in matrix form. Referring to the above figure, note that each Braille alphabet can be represented as a 3 x 2 matrix in which the solid black dots correspond to elements having value 1 and the empty circles correspond to elements having value 0. Each Braille pattern is unique to that English alphabet. When provided with a string comprising multiple alphabets, the corresponding Braille output is constructed by simply concatenating the matrices horizontally. The following is an example of correct function behavior. >> mat convertToBraille ('taco') mat = 3. (I0 points) Braille, named after its creator Louis Braille, is a tactile writing system used by the visually impaired. Braille characters have rectangular blocks called cells that have tiny bumps or raised dots. The number and arrangement of these dots distinguish one character from another. The standard Braille table for alphabets a through z is shown in Fig. 4 Figure 4:The Braille table for English alphabets a through z (from en.wikipedia.org/wiki/English_Braille) Write a function called convertToBraille that accepts a string of English alphabets as input and returns the corresponding Braille translation in matrix form. Referring to the above figure, note that each Braille alphabet can be represented as a 3 x 2 matrix in which the solid black dots correspond to elements having value 1 and the empty circles correspond to elements having value 0. Each Braille pattern is unique to that English alphabet. When provided with a string comprising multiple alphabets, the corresponding Braille output is constructed by simply concatenating the matrices horizontally. The following is an example of correct function behavior. >> mat convertToBraille ('taco') mat =Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started