let me know if u find any discrepancy
It seems that something is messed up. You didn't say how to score a suffix. If a suffix is scored with the same weight as a last name, then "William III" should score higher than 'William II' in problem 5. If the suffix is not scored at all, then 'william' should score higher than 'William II' or 'William III'. The same sort of problem occurs in problem 4.
if i remember correctly, suffix was supposed to be treated similarly to a prefix. [the 1st letter only]
I can confirm it. For suffixes, just the first letter counts. If it didn't william would be greater than William, since w > W (ASCII value).
Find relatively common elements in matrix rows
Make a simplified barcode
Remove the two elements next to NaN value
Generate N equally spaced intervals between -L and L
Make a logical diamond using GALLERY function
An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office