CrazyEngineers Forum

Turn The Screws!

Open your eyes, look in front, look at the back, look at any angle and you will see something that is an engineer's creation.

Engineers have been making things possible that others could only imagine. It perfectly makes sense to have a common place for engineers from around the world where they can share ideas, innovate, & help each other. Engineers are eternal, with the younger at 62 & the youngest at 17, the CEan gang consists of working professionals, students, entrepreneurs, CEOs, professors, geeks & nerds.

Need we say more? Click Here To Join The Gang!
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Computer Science & IT Engineering
Reply

  #1 (permalink)
Old 10th July 2008, 04:11 AM
CE - Newbie
 
AUinsy2010's Avatar
 
I'm a Crazy Industrial and Systems Engineer
Join Date: 10th July 2008
Posts: 1
Unhappy 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.

Thanks

AUinsy2010 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 03:32 AM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.Ad Management by RedTyger