Plotting equation as a function

1 次查看(过去 30 天)
in the interval 2h/pi<gamma<inf
k=0.4;
alpha=0.5;
tau=50;
h=30;
Plot the absolute value of the left hand side of the above equation as a function of 1⁄gamma?
how could i plot this

采纳的回答

Marta Salas
Marta Salas 2014-11-6
编辑:Marta Salas 2014-11-6
k=0.4; alpha=0.5; tau=50; h=30;
% Define the values within the interval for gamma
minValue = 2*h/pi;
maxValue = 100;
gamma =linspace(minValue, maxValue, 1000);
%Define the left hand side of the above equation
func = sqrt(1-(k./gamma).^2)-((k*alpha*tau)./(gamma).^2)-sin(h./gamma);
% plot
plot(1./gamma, func)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Gamma Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by