SciPy

1,338 views

Published on

IvBit presentation

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,338
On SlideShare
0
From Embeds
0
Number of Embeds
644
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

SciPy

  1. 1. Использование языка Python для научных исследований Константинов Е.С. Россия, Иваново, ИВГПУ, доцент
  2. 2. OpenCV LegoNXT Arduino
  3. 3. MatLab Octave
  4. 4. www.scipy.org
  5. 5. Matlab/Octave x=-10:0.5:10; y=x.^2; plot(x,y) grid on
  6. 6. Python 1. for x in range(-10,10): y=x**2 print(x,y) 2. for x in range(-10,10,2): y=x**2 print(x,y)
  7. 7. 3. for x in range(-10,10,0.5): y=x**2 print(x,y)
  8. 8. 3. for x in range(-10,10,0.5): y=x**2 print(x,y)
  9. 9. x=-10 while x<=10: y=x**2 print(x,y) x+=0.5
  10. 10. Эммм.... графики?
  11. 11. import numpy x =numpy.arange(-10,10,0.5) y=x**2 array([ 100. , 90.25, 81. , 72.25, 64. ,.....
  12. 12. А .... графики?
  13. 13. MatPlotLib
  14. 14. import pylab pylab.plot(x,y) pylab.grid() pylab.show()
  15. 15. import pylab pylab.plot(x,y) pylab.grid() pylab.show()
  16. 16. Благодарю за внимание

×