please help me about Erfz

3 vues (au cours des 30 derniers jours)
Rina Maulia
Rina Maulia le 18 Juin 2020
Modifié(e) : Ameer Hamza le 18 Juin 2020
>> erfz
Error using erfz (line 18)
Not enough input arguments.
error(nargchk(1, 1, nargin));

Réponses (1)

Ameer Hamza
Ameer Hamza le 18 Juin 2020
Modifié(e) : Ameer Hamza le 18 Juin 2020
It appears you are using erfz() from this FEX package: https://www.mathworks.com/matlabcentral/fileexchange/3574-erfz. You need to call it with an input argument. For example
>> erfz(1.5)
ans =
0.9661
Also, MATLAB has a built-in function erf(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/erf.html so you don't need that package.

Tags

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by