Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double resonanzfrequenz2(struct schwingkreis **messwerte, int anzahl)
- {
- int i, a, b, c;
- double fi, fa, f0;
- struct schwingkreis *ptri;
- struct schwingkreis *ptra;
- //ptr1 = (struct schwingkreis *)malloc(sizeof(struct schwingkreis *));
- i = 0;
- a = i + 1;
- ptri = messwerte[i];
- ptra = messwerte[a];
- /*
- for (b = 0; b < anzahl -1; b++)
- {
- fi = ptri->phase;
- fa = ptra->phase;
- if (fi < fa)
- {
- f0 = ptri->frequenz;
- a++;
- ptra = messwerte[a];
- }
- else if (fi > fa)
- {
- f0 = ptra->frequenz;
- ptri = messwerte[a];
- a++;
- ptra = messwerte[a];
- }
- }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement