Question: Please help me out. The language is Matlab from another or raised dots. The number and arrangement of these dots distinguish one character The standard
from another or raised dots. The number and arrangement of these dots distinguish one character The standard Braille table for alphabets a through z is shown in Fig.4. o 0 0 OCO Figure 4:The Braille table for English alphabets a throughz (from en.wikipedia.org/wiki/English Braille) Write a function called convert ToBraille that accepts a string of English alphabets as input and returns the corresponding Braile translation in matrix form. Referring to the above figure note that each Braille alphabet can be represented as a 3 2 matrix in which the solid black dots correspond to elements having value I 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 convext ToBraiHefftaco) mat Recall that a string is simply a ID array of characters so, given a string input, your function can erae over each English alphabet in the string and concatenate the corresponding Braille matrices as shown in Fig. 5, For your convenience, we haye prosided you with the table for alphabet conversion, though if you prefer, you may design and detre your own table structure. The iable is stored in a file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
