About 536,000 results
Open links in new tab
  1. numpy.sinNumPy v2.2 Manual

    numpy. sin (x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True [, signature]) = <ufunc 'sin'> # Trigonometric sine, element-wise. Parameters :

  2. python - Two-dimensional sinc function - Stack Overflow

    Aug 25, 2021 · I am trying to write a function for a 2D sinc function: y = (sin(x1)*sin(x2)) / (x1*x2) uniformly on the input range [-10, 10] for both x1 and x2. My approach looks like:

  3. Plotting Sine and Cosine Graph using Matplotlib in Python

    Aug 12, 2024 · In this article, we are going to plot a sine and cosine graph using Matplotlib in Python. Matplotlib is a Python library for data visualization and plotting, if you don't have …

  4. Plotting a sine wave using matplotlib and numpy | Pythontic.com

    sine waves represent periodic oscillations. sine waves can be plotted using numpy sin () function and the matplotlib plot () functions. An example sine wave is given here.

  5. The two-dimensional sinc function - scipython.com

    Generate an image plot of the sinc function in the Cartesian plane, $\mathrm {sinc} (r) = \sin r / r$ where $r = \sqrt {x^2+y^2}$.

  6. Python Program to Plot Sine Function - Codesansar

    Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. In this python program we …

  7. python-2d-sine-waves/sinewave.py at master - GitHub

    #! /usr/bin/env python # This script shows you how to plot a few different sine waves on one plot. # We first plot sin (x) in blue, for values of x ranging from -4pi to 4pi, # which is about -12 to 12 …

  8. python - How to plot graph sine wave - Stack Overflow

    A simple way to plot sine wave in python using matplotlib. import numpy as np import matplotlib.pyplot as plt x=np.arange(0,3*np.pi,0.1) y=np.sin(x) plt.plot(x,y) plt.title("SINE …

  9. numpy.sin() in Python - GeeksforGeeks

    Mar 8, 2024 · The numpy.sinh() is a mathematical function that helps user to calculate hyperbolic sine for all x(being the array elements). Equivalent to 1/2 * (np.exp(x) - np.exp(-x)) or -1j * …

  10. numpy.sinc — NumPy v2.2 Manual

    Use sinc(x / np.pi) to obtain the unnormalized sinc function sin (x) / x that is more common in mathematics. Array (possibly multi-dimensional) of values for which to calculate sinc(x). …

Refresh