how to solve undefined function error when using corr2?

I have a set of values (x,y) and (x,y1). My x value is same.I need to find 2D correlation coefficient between them.I used corr2.It's showing "Undefined function 'corr2' for input arguments of type 'double'."Plz help

 Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Jul. de 2013
corr2() is part of the Image Processing Toolkit. You do not have that installed, or you do not have it licensed (or for some strange reason it is not in your MATLAB path.)

3 comentarios

how to check if it's installed or not?
Try
which -all corr2
ver
The first of those is to see whether there is a corr2 file on the path; if there is not, then either the software is not installed or the installation is corrupt or you have done something strange to the MATLAB path. If the file is there but there is no license, then there will be a note such as "(no license")
The "ver" will include a line for the image processing toolkit if it is installed, even if there is no license for it.
'which -all corr2' O/P is 'corr2' not found. It means not installed?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by