Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
??? Undefined function or method 'irisBasisSVD' for input arguments of type 'double'.
조회 수: 4 (최근 30일)
이전 댓글 표시
can someone please help me resolve this issue? I initially converted my image into svd pattern and used the save function to save it in the '-mat' format. for training, the program used the load function to call the save format, and the program was supposed to get 3 dimensions. The program got stocked at this stage displaying an error message of undefined function or method. here is the part of the code with the error:
load irisBasisSVD;
%get only first 3 dimensions'
nclasses=50;
TS=[irisBasisSVD(1:nclasses*7,1:3) irisBasisSVD(1:nclasses*7,41)]; % this is the part with the error.
댓글 수: 0
답변 (2개)
Wayne King
2013년 3월 24일
Are you sure that when you load the irisBasisSVD.mat file, that the variable(s) inside the .mat file is actually called irisBasisSVD?
If you enter
whos('-file','irisBasisSVD.mat')
what is returned?
댓글 수: 1
Wayne King
2013년 3월 24일
Your answer to my question means that the only variable in that .mat file is a single row vector, T.
Accordingly, you cannot address irisBasisSVD( ) in the MATLAB workspace like it is a matrix, because MATLAB will think you are trying to call a function irisBasisSVD().
You should substitute the actual variable name, which is T. However, you have another issue, T is a row vector, NOT a matrix as you seem to think by your addressing of both row and column elements of irisBasisSVD
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!