mimitha said:
i asked to define the 3x2 array dots into the matlabs [...] then once define all the characters inside...
That really seems like an incredibly trivial part of this assignment. Make each dot a "bit" and make a corresponding character translation table. The character "R" for example has bits 1, 2, 3, and 5 turned on, making for a numeric value of 23 (that's following the standard number labelling of Braille dot positions). A translation array might look something like:
0)
space
1)
A or
1
2)
,
3)
B or
2
4)
'
5)
K
6)
;
7)
L
8) N/A
9)
C or
3
10)
I or
9
... etc ...
Given that letters are the default, and numbers will be in use if following #60 ("number follows" symbol), you could even make TWO arrays-- the first being alphabetic characters, and the second being numeric characters. Probably put in the characters 0-9, and also the "." character (assuming that's how Braille denotes decimal points). Then, when you encounter a #60, you set a flag-- and as long as the flag is set, use the 2nd array to translate rather than the 1st. And if something pops up that isn't defined in your 2nd array, unset the flag and go back to using the 1st array to translate.
Anyway, that part's dead easy.
mimitha said:
and then scanned the real braille document n convert it into normal text so all can read it...
There's your REAL task. Especially if you use genuine Braille documents, which supposedly contain a lot of context-sensitive shorthand, like using the letter "B" to mean "BUT", rather than spelling it out. Here's hoping you don't have to do anything THAT fancy.
DaveE