toweber

membership_tests1

Sep 9th, 2021 (edited)
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. import numpy as np
  2. import skfuzzy as fuzz
  3. import matplotlib.pyplot as plt
  4.  
  5. x = np.arange(0,10,0.01)
  6.  
  7. mfx = fuzz.trimf(x, [1, 5, 9])
  8.  
  9. plt.plot(x,mfx)
  10. plt.show()
  11.  
Add Comment
Please, Sign In to add comment