Undefined function 'nmf' for input arguments of type 'double'
Mostrar comentarios más antiguos
i have made a function named nmf its sign is: function [ W,H ] = nmf(A,k,numOfIteration )
when i try to test this fınction with a A=rand(40,30); it says: Undefined function 'nmf' for input arguments of type 'double'
so what is the type of A in my fucntion? i tried nearly all types.any ideas?thank you.
3 comentarios
Matt Kindig
el 16 de Oct. de 2012
Is the directory where nmf resides on your path? You can check this by selecting File->Set Path and see whether the folder containing 'nmf' is on your path. If it is not, add it using the "Add Folder" button.
Walter Roberson
el 16 de Oct. de 2012
Make sure the saved file is named nmf.m
ihsan
el 17 de Oct. de 2012
Respuesta aceptada
Más respuestas (1)
Sachin Ganjare
el 17 de Oct. de 2012
0 votos
Probably you are trying to use 'nmf' function instead of 'nnmf' function in statistics toolbox.
1 comentario
ihsan
el 17 de Oct. de 2012
Categorías
Más información sobre Dimensionality Reduction and Feature Extraction en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!