/******************************** Author: Sravanthi Kota Venkata ********************************/ #include "sdvbs_common.h" F2D* readFile(unsigned char* fileName) { FILE* fp; F2D *fill; float temp; int rows, cols; int i, j; fp = fopen(fileName, "r"); if(fp == NULL) { printf("Error in file %s\n", fileName); return NULL; } fscanf(fp, "%d", &cols); fscanf(fp, "%d", &rows); fill = fSetArray(rows, cols, 0); for(i=0; i