What does fzero take as input for the function?
이전 댓글 표시
If i have a function that starts as follows:
function [y,index] = findsmode(x)
and if i then use
sigma=fzero(@findmode,500);
then what does the function findmode take as input x?
Also, if i put
disp(*)
within the function file with * being some variable calculated in the function, why does the value show up in my command window multiple times, while it is not being iterated.
I hope someone can explain this to me
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Variables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!