Hello, any one help me, How can I write this?

3 ビュー (過去 30 日間)
ahmet emin arslan
ahmet emin arslan 2019 年 5 月 7 日
コメント済み: Walter Roberson 2019 年 5 月 7 日
Hi guys. I should create an application for calculates the nominal interest rate.
i = nominal interest rate P = initial investment T = future value N = number of compounding periods per year Y = number of years App looks like this:
Can you help me for writing code?
20190507_214511.jpg
  5 件のコメント
ahmet emin arslan
ahmet emin arslan 2019 年 5 月 7 日
For create this, I dont know how can I write code? I tried this:
But it didn't work
Walter Roberson
Walter Roberson 2019 年 5 月 7 日
What error message did you observe?

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

採用された回答

Roy Kadesh
Roy Kadesh 2019 年 5 月 7 日
Try this:
function cal_butButtonPushed(app, event)
P=app.p_val;
T=app.t_val;
N=app.n_val;
Y=app.y_val;
I=N*((T/P)^(1/(N*Y))) - N;
app.i_val=I;
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by