Dose any one know any wrong with this function?
Mostra commenti meno recenti
Dose any one know any wrong with this function?
function [nom]=intonom(int,conv)
nom=((1+int)^(1/conv)-1)*conv;
I wanna to calculate the interest by using this calculation, but it always say wrong.
6 Commenti
Birdman
il 24 Ott 2017
What do you want to calculate? What do you give as input, scalar, vector? Be more specific and explain it with an example.
@a a: what size are int and conv ?
"but it always say wrong."
Please show us the complete error message. This means all of the red text.
PS: using int and conv as variable names, because these will shadow the inbuilt int and conv functions. Always use which to check if a name is already defined.
a a
il 24 Ott 2017
a a
il 24 Ott 2017
a a
il 24 Ott 2017
Walter Roberson
il 24 Ott 2017
You have to store that code in a file named intonom.m
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su 関数 in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!