Question: Please write the code of Matlab, thanks 3. (10 points) Braille, named after its creator Louis Braille, is a tactile writing system used by the

Please write the code of Matlab, thanks

Please write the code of Matlab, thanks 3. (10 points) Braille, namedafter its creator Louis Braille, is a tactile writing system used by

3. (10 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: en.wikipedia.org/wiki/English_Braille) The Braille table for English alphabets a through z (from 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 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 - Recall that a string is simply a 1D array of characters; so, given a string input, your function can iterate over each English alphabet in the string and concatenate the corresponding Braille matrices as shown in Fig. 5 For your convenience, we have provided you with the table for alphabet conversion, though if you prefer you may design and define your own table structure. The table is stored in a file named brailleTable.mat. Load this file as load ('brailleTable) 3. (10 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: en.wikipedia.org/wiki/English_Braille) The Braille table for English alphabets a through z (from 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 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 - Recall that a string is simply a 1D array of characters; so, given a string input, your function can iterate over each English alphabet in the string and concatenate the corresponding Braille matrices as shown in Fig. 5 For your convenience, we have provided you with the table for alphabet conversion, though if you prefer you may design and define your own table structure. The table is stored in a file named brailleTable.mat. Load this file as load ('brailleTable)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!