CrazyEngineers
  • I'm new to the forum and in need of some help with a matlab program. Hopefully someone here is familiar with matlab and nested loops. I need to write a program to import a data set from an excel file, send the data as a matrix to a function file where each row is to be averaged and sent back to the script file to be displayed. Here's my problem, I need to deal with the possibility of blank entries in the excel file which matlab defines as NaN. I am instructed to use a nested 'for loop' to check, element by element, each value in the matrix that is to be stored in a variable for the NaN values. The output should display the values found in each row and the average for that row. This is about as descriptive as I can be, maybe someone can help.

    Thanks

    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Home Channels Search Login Register