退屈な日常①

These days, I read novels in the train on the way to school. Especially, the novel called "kenki" is one of my favorite novels, because the main charactor called tagane is the strongest soldier.

JupyterLab上でのアニメーションの出力方法

JupyterLab上でmatplotlibのアニメーションを出力する。以下に参考URLを記載する。JupyterLab上でmatplotlibのアニメーションを出力する - Qiita内容を記述する。(消えると困るので)方法1:IPython.display.HTMLの使用確認用のコードを以下に示す import nu…

単相インバータ波形(ハーフブリッジ)のpython script

import numpy as np import matplotlib.pyplot as plt import matplotlib.ticker as ticker import scipy.signal as signal class Inverter: def __init__(self,N=2**10): self.N=N #サンプリング数 #sin波 def sin_wave(self,Es,f1): x_sin=np.linspace(0,2…

グラフの書き方(sin波,cos波)

import numpy as np import matplotlib.pyplot as plt import matplotlib.ticker as ticker x=np.linspace(0,2*np.pi,1000) #0~2πまで1000個作成 y1=np.sin(x) y2=np.cos(x) fig=plt.figure() #figureを作成 ax1=fig.add_subplot(211) #figure内の2行1列1番…

2021/6/13

今日は一日バイトやった。昼からやけどW そんあとは友達とapeしてランクでは死にまくったけどカジュアルは楽しかった。 友達は通信環境が悪いせいか時々停止しててそん時にばり撃たれてるのは笑えたw