21 lines
290 B
Python
21 lines
290 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
Created on Sun Mar 27 09:28:09 2022
|
|
|
|
@author: Kenan
|
|
"""
|
|
import numpy as np
|
|
|
|
from matplotlib import pyplot as plt
|
|
|
|
|
|
#p1 = (1,2)
|
|
#p2=(3,4)
|
|
|
|
# dritter wert ist farbe von led
|
|
|
|
points = np.array([[1,3,5],
|
|
[2,4,3]])
|
|
|
|
mean = np.mean(points[:,0:2],1)
|