Hub
Pricing About
WorkflowWorkflow

Forum0010 - Circular Mean Example

carlosenrique84 profile image
Version1.0Latest, created on 
Oct 30, 2025 6:02 PM
Drag & drop
Like
Download workflow
Workflow preview

Circular Mean Implementation Example

This workflow provides a practical implementation of the circular mean algorithm, as detailed in the linked Wikipedia article. Using the article's example angles of 355°, 5°, and 15°, it demonstrates the correct method for averaging cyclical data. The process involves converting the angles into their vector components (sine and cosine), calculating the average of these components, and then converting the result back into a final mean angle using the atan2 function. This method correctly yields 5°, avoiding the erroneous 125° result produced by a simple arithmetic mean. The same logic can be scaled up using the GroupBy node, making this implementation ideal for accurately averaging real-world cyclical data like wind direction.

Wikipedia article: https://en.wikipedia.org/wiki/Circular_mean

External resources

  • Forum Post
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.5.2
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.1

    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.5.1

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits