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

 Réponse acceptée

Walter Roberson
Walter Roberson le 5 Juil 2013

0 votes

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 commentaires

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?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by