Turning a double into a scalar
44 ビュー (過去 30 日間)
古いコメントを表示
Hey all, trying to use flowprandtlmeyer to find mach numbers for a range of different prandtl-meyer angles ('nu' as an input), and getting some issues. The error I am getting for this is that: Inputs must be scalars in Prandtl-Meyer angle input mode. Any ideas on how to do this problem??
close all; clear all; clc
gamma = 1.4;
mach = 2.5;
theta_a = 0:.1:30;
p1 = .2;
t1 = 300;
t_0 = 675;
p_0= 3.417;
vm2 = (theta_a + (39.124));
[mach2, nu2, mu2] = flowprandtlmeyer(gamma, vm2, 'nu');
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Software Development Tools についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!