Hello, any one help me, How can I write this?
1 次查看(过去 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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/218487/20190507_214511.jpg)
5 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!