How to build a graph like the triangle of velocity vectors

8 visualizaciones (últimos 30 días)
Beket
Beket el 25 de Abr. de 2023
Hello, I going to make an interface in App Designer, so I have to build in Axes the graph of the triangle of velocity vectors. Examples:
Interface should be like this and graph displayed in axes here:
Input components: Q, H, n, D_1. Calculation with input components: k_1 = 1.34; % 1.15-.1.3 k_2 = 1.1; % 1.05-1.15 k = 0.8; u_1 = D_1 * pi * n / 60; % c_0 = 0.06 * power(Q * n * n, 1 / 3); c_1m = k_1 * c_0; c_2m = k_2 * c_0; dbetta = 2 * pi / 180; c_1u = 0; betta_1 = atan(c_1m / (u_1 - c_1u)) + dbetta; w_1 = c_1m / sin(betta_1); % w_2inf = 0.7 * w_1; betta_2 = asin((w_1/w_2inf) * c_2m * k_2 * sin(betta_1) / (c_1m * k_1)); w_2 = c_2m / sin(betta_2); % He = H / (eta_g * k); u_2 = (c_2m/(2*tan(betta_2))+power(((c_2m/(2*tan(betta_2)))^2) + g*He + c_1u*u_1, 1 / 2)); % c_1 = power(u_1^2 + w_1^2 - 2 * u_1 * w_1 * cos(betta_1), 1/2); % c_2 = power(u_2^2 + w_2^2 - 2 * u_2 * w_2 * cos(betta_2), 1/2);
Graph should show this components: u1, w1, c1, cm1, beta1, u2, w2, c2, cm2, beta2
Can you help me with this issue?

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by