asaikk Posted February 11, 2012 Share Posted February 11, 2012 What would be the sequence (including declaration of variables) to calculate the average value of input data from "MyChannel"? Link to comment Share on other sites More sharing options...
AzeoTech Posted February 12, 2012 Share Posted February 12, 2012 You don't need a sequence. You can just do: mean(myChannel) wherever you would just put: myChannel[0] You can also do something like: mean(myChannel[0,9]) to get the average of the last 10 readings. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.