You could consider using MATLAB code to develop a custom Test. The assessment code can create new variables that you could test with conditional statements. For example:

More Answers in the Distance Learning Community
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!