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!