2019-06-19から1日間の記事一覧
#include <iostream> using namespace std; // 普通の方法。 char sute(int a) { return (char)a; } int sute(char a) { return (int)a; } // 函数テンプレートを使う方法。dtypeが任意のデータ型を表す。ここでは"dtype"にしたが記号は何でもよい。 // 函数テンプレー</iostream>…
RT_Fit_and_plot_non_Linear.vi - Google ドライブ 今度は T = 1 / ( A + B ln(R) + D (ln (R))3 ) を y = 1 / ( A + B x + D x3 ) と置いて非線形最小二乗法で近似し、A、B、Dをそれぞれ求めてみる。温度を抵抗の函数として表現しているのに温度をX軸に、抵…
RT_Fit_and_plot.vi - Google ドライブ 1/T = A + B ln(R) + D (ln (R))3 を y = A + B x + D x3 と置いて線形最小二乗法で近似し、A、B、Dをそれぞれ求めてみる。温度を抵抗の函数として表現しているにも関わらず、グラフ上では温度をX軸に、抵抗をY軸にと…