I have a voltage signal(low frequency) in 0-5 v range.I want to do some mathematical operations like derivation,integration,interpolation,inverting etc with the signal.I am using arduino UNO for this.Can u suggest how can I start my work and any links of tutorials?
currentSample = getCurrentSample();
integrationSoFar = integrationSoFar + (previousSample*samplePeriod + ((currentSample - previousSample)*samplePeriod/2);
previousSample = currentSample;
//this can be greatly simplified, but I leave it as is and 'blunt' for clarity...
I would say that at this point, it is best if bisni concentrates on learning about datatypes, variables, variable scope, operators (arithmetic as well as logical), program flow, etc. That's the hard part.
"Derivative", "integration", "interpolation", etc., are just hard words for simple concepts. The main thing for bisni to learn is C++ and Arduino. Once he (or she) knows that, then he (or she) will find the rest to be simple.
As Jimbo suggests, it's the algorithm that can be the hard part - those examples should give you the framework, just translate it into C. It'll be barely an algorithm anyway, I don't foresee any critical conditional branching, recursion or anything...
Odometer, it's true I assumed the OP knew these things, and why wouldn't I? They didn't specifically ask for help with that...
Thinking about it conversely I'm led to ask: shouldn't recommending that an OP concentrate on datatypes, variables, variable scope, operators etc. be suggested for all posts?