??? Undefined function or variable 'funfcn'. Error in ==> mini at 1 [y, farr]= uq_dist(funfcn,-20,20,12,1,-5,0.001,0,2,4) EDU>>
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
??? Undefined function or variable 'funfcn'.
Error in ==> mini at 1
[y, farr]= uq_dist(funfcn,-20,20,12,1,-5,0.001,0,2,4)
EDU>>
how can we call a function when its input argument is funfcn
0 comentarios
Respuestas (1)
Geoff Hayes
el 14 de Oct. de 2014
Ruqayya - how are you calling uq_dist? You have to supply a function handle to some function that is the first parameter to the above function. For example
funfcn = @myFunction;
where (according to the code you supplied at your previous post at 158389), funfcn is a source density function given in an m-file with at most three parameters, p1,p2,p3.
If this code is from Contemporary Communication Systems Using MATLAB, then there should be some examples that illustrate the use of the uq_dist function and the parameters that are passed to it.
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!