Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions