Plotting equation as a function

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 日

1 投票

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)

1 件のコメント

Metin
Metin 2014 年 11 月 7 日
Thank you so much,that will be helpful to me...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGamma Functions についてさらに検索

質問済み:

2014 年 11 月 6 日

編集済み:

2014 年 11 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by