#include "test_sample_functions.h" int main(int argc, char **argv) { Parameters parameters; parseArguments(argc, argv, ¶meters); //parameters.numberOfSamples = (parameters.time + parameters.delta - 1) / parameters.delta; parameters.numberOfSamples = 1 + ((parameters.time - 1) / parameters.delta); // Initialize a matrix to store the sample values double **samplesMatrix = (double **) malloc(parameters.numberOfSamples * sizeof(double *)); for (int i=0; i