Matlab help: Nested loops

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.



You are reading an archived discussion.

Related Posts

hai all im anoop im into final year of my engineering life.this sem we have seminar .i need a very good and laetst topic which can make me diff frm...
2008 is a year of execution. Thing’s will come to pass. It is a year of spiritual awakening and enlightenment. All known institutions, we depend on, like the social security...
A LOT has been said about Artificial Intelligence. Lot of research is going on. But it would be interesting to find out what our CEans think about possibility of artificial...
how to calculate stresses in tapered beam from particular location frm base , applyiing load in KN/m2 on top face?
what is the value of magnitude- moment in support location? is this zero or not?