There is a way to achieve some level of individualisation in Grader. Unfortunately it is not possible to generate problem description, which is individual for each student. The workaround is that you can make a list (printed or electronic sheet of sorts), which states parameters of each question for each student.
Question in Grader: Plot a graph of a function y(x) from in your Question 1 (refers to the sheet with values) for N values of x in the the domain of . Values of N, x_min and x_max are individual for each student.
Assign your Student ID number to the variable id.
Comment: function y(x), values of N, x_min and x_max are provided to each student individually (e.g. you can make a sheet with their id numbers and list y(x), N, etc for each student id and give the sheet during a test or on Moodle etc. if Grader could generate (or alter) question text based on externally attached script, life could be much easier, but I guess security concerns...
To provide Grader with individual values of y,N.x_min,x_max we can use "Files referenced" section in question specs. We can upload additional m-file or p-file which contains all student id's in an array and other arrays with all other parameters. E.g. I call this file "testit.m" (same as the name of the function inside). The file testit.m is below (not visible to students):
function [ y,n,x_min,x_max ] = testit(student_id)
disp(['ID found: ', id]);
disp('ID not found!');
function y = exp_cos(x)
y = exp(x).*cos(x)
Then Referense solution function looks like this:
function [y, x, id, h] = myFunction(id)
[func,n,x_min,x_max] = testit(id);
The learner template:
function [y,x,id,h] = myFunction(id)
"How to call this function" box
Finally the Assessment function
[y,x,id,h] = myFunction();
[yRef, xRef, idRef, hRef] = reference.myFunction(id);
assessVariableEqual('x', xRef,'Feedback','vector x appear to be wrong');
assessVariableEqual('y', yRef,'Feedback','vector y appear to be wrong');
Now, If one is concerned that student will not use their ID and pass solution validation with ID of their mate. ID should not necessarily be real student ID, they may be some unique strings of random characters pre-generated before the test. In this case all you need to change is just one line in textit.m with cell arrays of used id's.
Also after the test you can obviously check if ID they used is ID they should have used, but the main purpose I guess is to avoid extra work :)
Also testit.m can contain all info for all the questions in the assignment, not just one (may need to use unique variables for parameters of each question though)