Here is my current attempt however when I try to assign a double to one element I am told that the "subscripted value is neither array nor pointer nor vector". Can anyone point me in the right direction (pun intended).
int i;
double x[2];
for(i=0;i<2;i++){
double *x[i];
x[i] = (double*) malloc(10000*sizeof(double));
}