- #1

btb4198

- 572

- 10

How can I mathematically model a real system and predict values from that system?

I have a real device that produces data that I can graph. The data looks like a sinewave.

I want to use an sinewave fit equation to predict some of the measurements because of how long it takes to run a measurement.

here is an example of some of the data I am seeing :

As you can see from the first 4 measurements, it does not produce a perfect sine wave

So,

A = 9.5

B = 71.5

Period = 2*π / w

w = 2*π/20 = π/10

but I am not sure since I think that 62 is because of noise ..

anyhow I get this when I graph it :

which is not right..

Does anyone know an algorithm I can use or any free c# NuGet that can do this ?

I have a real device that produces data that I can graph. The data looks like a sinewave.

I want to use an sinewave fit equation to predict some of the measurements because of how long it takes to run a measurement.

here is an example of some of the data I am seeing :

1 | 65 |

2 | 63 |

3 | 62 |

4 | 63 |

5 | 65 |

6 | 66 |

7 | 67 |

8 | 68 |

9 | 69 |

10 | 70 |

11 | 71 |

12 | 72 |

13 | 73 |

14 | 74 |

15 | 75 |

16 | 77 |

17 | 78 |

18 | 79 |

19 | 80 |

20 | 81 |

So,

A = 9.5

B = 71.5

Period = 2*π / w

w = 2*π/20 = π/10

but I am not sure since I think that 62 is because of noise ..

anyhow I get this when I graph it :

which is not right..

Does anyone know an algorithm I can use or any free c# NuGet that can do this ?

Last edited: