我在 matlab 上繪制翼型時遇到問題。看起來有些像差只有一兩個值。我已經一次又一次地檢查公式,所以它們應該是好的。我還沒有轉換為學位,所以這不是問題。
%% setup
clc
clear all
%type of airfoil
typeNACA = '2312';
%extract values of airfoil type
M = str2double(typeNACA(1)); % max camber %chord
P = str2double(typeNACA(2)); % chordwise position
Thmax = str2double(typeNACA(3:4));
M=M/100;
P=P/100
Thmax=Thmax/100;
% gridpoints
gridpoints = 1000;
% Airfoil grid
x = linspace(0,1,gridpoints);
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/389983.html
標籤:MATLAB
下一篇:Matlab命令對于矩陣是唯一的
