Turning a double into a scalar
43 次查看(过去 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!