学习:人工智能-机器学习-深度学习概念的区别

学习: matplotlib绘制阻尼正弦波

妙音 posted @ 2019年4月06日 07:55 in 人工智能 with tags matplotlib , 3503 阅读

介绍

 
* 阻尼正弦波定义: 振幅会随时间增长而趋向零的正弦波函数
 
 
 
* 示例图片
 
 
* 应用
 
a.任何振动系统
 
b.共振
 
c.简谐运动(弹簧、单摆)
 
d.车辆避震系统
 
e.RLC电路
 
f.有阻尼的弦波
 

绘制方法

import matplotlib.pyplot as plt
import numpy as np


#阻尼正弦波计算公式
def f(t):
    'A damped exponential'
    s1 = np.cos(2 * np.pi * t)    # 余弦
    e1 = np.exp(-t)               # 自然数e的幂
    return s1 * e1


t1 = np.arange(0.0, 5.0, .2)    # 定义x轴(可以将步长改小,图像就很明显)

l = plt.plot(t1, f(t1), 'ro')   # t1是x轴上的点, f(t1)是y轴上的点, ro表示点是红色+圆形
plt.setp(l, markersize=30)         # 设置点的大小
plt.setp(l, markerfacecolor='C0')  # 颜色

plt.show()
 
 
* 绘制结果
 
来源
 
此生必看的科学实验-水知道答案
《了凡四训》详解之改过之法
印光大师十念法(胡小林主讲第1集)
精神病为什么治不好
百病之源

 

Avatar_small
f88tw 说:
2019年11月30日 07:44

敬启者:个人小网站希望大家多多支持 感谢您对我们热心的支持 f88tw┃华歌尔┃I appreciate your kind assistance. f88tw|墓园|捡骨流程|捡骨费用|捡骨时间|禁忌|捡骨颜色|捡骨师|新竹|时间|台北|桃园|苗栗|头份|火化|晋塔|安葬|法事|捡骨|看日子|墓穴|墓园|坟墓|看日子|乞丐|http://mypaper.m.pchome.com.tw/f88tw

Avatar_small
https://hotmailmsn.o 说:
2019年12月27日 11:36

Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share.

Avatar_small
hotmail-inicio-sesio 说:
2020年1月25日 17:29

You completed certain reliable points there. I did a search on the subject and found nearly all persons will agree with your blog.

Avatar_small
Click Here 说:
2020年2月09日 20:14

The post is written in very a good manner and it contains many useful information for me.

Avatar_small
kaleanna 说:
2020年2月13日 12:38

The information is very good, I think it is difficult because I have just started. <a href="https://run3game.io/">run 3</a>

Avatar_small
krunker 说:
2020年2月13日 16:22

I'm not sure but it's a good data, I just started to learn about it

Avatar_small
latest chess info 说:
2020年2月16日 16:45

Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though.

Avatar_small
https://www.winning2 说:
2020年2月17日 18:36

Great things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies.Thanks

Avatar_small
Security Master For 说:
2020年2月26日 17:54

Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information..

Avatar_small
prezi crack 说:
2020年2月27日 16:52

This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you.

Avatar_small
123movies old versio 说:
2020年3月01日 17:36

Thank you for taking the time to publish this information very useful!

Avatar_small
Szkolenia okresowe B 说:
2020年3月03日 17:02

I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best!

Avatar_small
Youtube to Mp4 说:
2020年3月04日 18:10

This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great.

Avatar_small
Rolls Royce rental 说:
2020年3月06日 16:20

I keep listening to the rumor lecture about receiving free online grant applications so I have been looking around for the top site to get one. Could you tell me please, where could i acquire some?

Avatar_small
http://lekkoo.com/v/ 说:
2020年3月08日 00:54

I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it..

Avatar_small
حاسبة الحمل الصيني 说:
2020年3月08日 19:31

Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work.

Avatar_small
Right Network 说:
2020年3月09日 18:20

i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me.

Avatar_small
mejaqq 说:
2020年3月10日 19:15

This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog..

Avatar_small
Ameriprint printer n 说:
2020年3月12日 18:02

I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers

Avatar_small
kitten 说:
2020年3月15日 20:49

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.

Avatar_small
dogs 说:
2020年3月16日 02:02

Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking.

Avatar_small
Gucci Sale 说:
2020年3月19日 19:49

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work

Avatar_small
raja qq 说:
2020年3月21日 20:21

Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.

Avatar_small
pelangiqq 说:
2020年3月22日 02:23

Thank you so much as you have been willing to share information with us. We will forever admire all you have done here because you have made my work as easy as ABC.

Avatar_small
1g 说:
2020年3月23日 16:26

A debt of gratitude is in order for an awesome offer. Your article has demonstrated your difficult work and experience you have right now. Splendid.

Avatar_small
usa essay writing se 说:
2020年3月25日 20:54

Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work.

Avatar_small
qiuqiu99 说:
2020年3月26日 03:01

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.

Avatar_small
prize bond 1500 说:
2020年3月26日 16:23

Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work!

Avatar_small
saranapoker 说:
2020年3月27日 02:42

Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!

Avatar_small
dewa poker online 说:
2020年3月28日 02:10

I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts.

Avatar_small
sahabatqq 说:
2020年3月28日 20:52

Great knowledge, do anyone mind merely reference back to it

Avatar_small
senangpoker 说:
2020年3月28日 20:59

Thanks for another wonderful post. Where else could anybody get that type of info in such an ideal way of writing?

Avatar_small
games 说:
2020年3月29日 01:02

My brother recommended I may like this web site. He was entirely right. This publish actually made my day. You can not consider just how so much time I had spent for this information! Thank you.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter