我有包含维度数据的矩阵 3x108。我想在每一行中找到我的矩阵的最小值和最大值。这是我的代码:
P = load('grading/dimension.mat');
min_P = min(P,[],3);
max_P = max(P,[],3);
但它给了我错误:
??? Error while evaluating uicontrol Callback
??? Undefined function or method 'min' for input arguments
of type 'struct'.
Error in ==> guikedelaizulfa>identifikasi_Callback at 1427
min_P = min(P,[],3);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> guikedelaizulfa at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==>
@(hObject,eventdata)guikedelaizulfa('identifikasi_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
你能帮助我吗?谢谢