You persist on asking for Matlab help in a Java forum. I'm sure there are Matlab forums where you can get appropriate help. If from there you actually end up with Java code you need help with, come...