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

3 次查看(过去 30 天)
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
For create this, I dont know how can I write code? I tried this:
But it didn't work

请先登录,再进行评论。

采纳的回答

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 CenterFile Exchange 中查找有关 Introduction 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