why 97 and 65?

for i=1:B
if((word(i)==97) | (word(i)==65))
if(i==1)
NewImg = img1;
end
if(i>1)
Temping = cat(2,NewImg,img1);
NewImg = Temping;
end
end
%%%
%%%
end
why 97 and 65?
What dose is mean Temping?

4 Comments

KALYAN ACHARJYA
KALYAN ACHARJYA on 29 Nov 2018
Edited: KALYAN ACHARJYA on 29 Nov 2018
How do we know that without detail of the code?
David Goodmanson
David Goodmanson on 29 Nov 2018
Edited: David Goodmanson on 30 Nov 2018
(see posted answer)
Image Analyst
Image Analyst on 29 Nov 2018
That's what I was going to answer. I'd post that as an official answer below, David, instead of a comment up here.
ok I'll give it a try, thanks.

Sign in to comment.

Answers (1)

Hi Mintra,
this is quite likely related to the ascii character set
char(97)
ans = 'a'
char(65)
ans = 'A'
small letters are 97 -122, capital letters are 65 - 90.
As for the Temping image, no way to say what it is without knowing the context.

Categories

Find more on Vehicle Dynamics Blockset in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 29 Nov 2018

Edited:

on 30 Nov 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!