> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/scopeview/use-functions/harmonic-analysis-functions/harmonic-analysis-or-ffreqs.md).

# Harmonic Analysis | FFREQS

## **FUNDAMENTAL FREQUENCY SIGNAL – \[FFREQS]**

Outputs the fundamental frequency of selected signal evaluated at each data points.

## **CATEGORY**

Harmonic Analysis

![](https://opal-rt.atlassian.net/wiki/download/thumbnails/1517355201/image2018-9-24_14-1-39.png?version=1\&modificationDate=1757702733377\&cacheVersion=1\&api=v2\&width=411\&height=250)

## **DESCRIPTION**

Outputs the fundamental frequency of selected signal using an interval around each point.

## **RESULT VARIABLES AND PARAMETERS**

<table data-header-hidden><thead><tr><th width="260.4000244140625"></th><th></th></tr></thead><tbody><tr><td><strong>Result</strong></td><td>Fundamental frequency value at each point of the input signal.</td></tr><tr><td><strong>Signal</strong></td><td>Input</td></tr><tr><td><strong>Num_Cycles</strong></td><td>Width factor of the window used to evaluate each fundamentals frequencies. (optional, default=1)</td></tr><tr><td><strong>Use_Same_approx_Frequency</strong></td><td>Use the same Approx._Frequency for each interval of approximation. If false, use the frequency from the previous interval. (optional, default=true)</td></tr><tr><td><strong>Approx_Frequency</strong></td><td>Search for fundamental frequency around this value (optional, default=Bloc frequency)</td></tr></tbody></table>

## **SYNTAX**

**res**=ffreqs(input, num\_cycles, use\_same\_approx\_freq, approx\_freq)

## **CHARACTERISTICS**

Data type support\
Double Floating point

## **EXAMPLE**

<figure><img src="https://1028368895-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfwfLeQP2Iaoefor0ZUNi%2Fuploads%2F3LPWlFnsDb2cbUwODnsC%2Fimage.png?alt=media&amp;token=45f74ed3-2b79-4978-8526-601e95d52c09" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/scopeview/use-functions/harmonic-analysis-functions/harmonic-analysis-or-ffreqs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
