原创 VCC、VDD、VEE、VSS等有關電源標註的區別

VCC:C=circuit 表示電路的意思, 即接入電路的電壓; VDD:D=device 表示器件的意思, 即器件內部的工作電壓; VSS:S=series 表示公共連接的意思,通常指電路公共接地端電壓。 GND:在電路里常被定

原创 Ubuntu 環境下Python爬蟲的配置

可直接用包管理器安裝 pip sudo apt-get install python-pip pip最常用命令 顯示版本和路徑 pip --version 獲取幫助 pip --help 升級pip pip insta

原创 Matlab 新建文件夾和重命名文件夾

Matlab 新建文件夾,重命名文件夾(更改文件夾名稱) 新建文件夾 ans = dos('md a'); % 在當前路徑下生成文件夾a 在指定路徑下,新建文件夾 ans = dos('md e:a\b\c'); %生成文件夾c

原创 N個點FFT變換中的頻率分辨率以及與實際頻率的關係

原文鏈接:http://www.knowsky.com/1054283.html 做FFT變換時,我們一般會取N個點來做FFT變換,得到N個變換後的係數,也稱之爲頻譜系數。在離散時間傅里

原创 C++(筆記)容器(vector)作爲函數參數如何傳參

原文鏈接:https://blog.csdn.net/w_linux/article/details/72417896 一、大致以下類型 void 函數名( vector< int>

原创 選擇排序selection

#include <iostream> using namespace std; int main() { int arr[] = {2, 3, 5, 2, 10, 1, 4}; int n = sizeof(

原创 C/C++ 如何確定未知數組長度

int arr[] = {2, 3, 5, 2, 10, 1, 4}; int n = sizeof(arr) / sizeof(*arr);

原创 冒泡排序bubble

#include <iostream> using namespace std; int main() { int arr[] = {2, 5, 3, 4, 3, 4, 7, 9, 1, 10}; int n

原创 希爾排序shell

#include <iostream> using namespace std; int main() { int arr[] = {0, 9, 1, 5, 8, 3, 7, 4, 6, 2}; int n =

原创 linux常用查看硬件設備信息命令

原文鏈接:https://blog.csdn.net/u012427355/article/details/80111619 系統 # uname -a #

原创 插入排序insertion

#include <iostream> #include <unistd.h> using namespace std; int main() { int arr[] = {2, 3, 5, 2, 10, 1, 4, 1

原创 C++中cin、cin.get()、cin.getline()、getline()函數的簡單總結

原文鏈接:https://www.cnblogs.com/hhddcpp/p/4308680.html 1、cin 2、cin.get() 3、cin.getline() 4、getl

原创 C++ stringstream的使用,實現任何數據轉換

stringstream可以吞下任何類型,根據實際需要吐出不同的類型。 #include <iostream> #include <string> #include <sstream> using namespace std;

原创 大數對大數求商和求餘

題目:輸入m和n,m和n爲正整數,輸出m/n,m%n的值。(1<=m<=10的100次方,1<=n<=10的9次方) 思路很簡單 我直接複製粘貼啦 舉個例子:>> 54367256 / 97, 54367256 % 97 我們這樣

原创 nohup 詳解

原文鏈接:https://www.cnblogs.com/jinxiao-pu/p/9131057.html nohup nohup 命令運行由 Command參數和任何相關的 Arg參