|
> Can you be more specific? What are the values (or at least the sizes) for
> the other eight input arguments and what error/warning/wrong answer do you
> see when you try to run this function? If you post this information
> (including the FULL text of any error or warning message you receive) to the
> newsgroup someone may be able to offer a suggestion.
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
??? Error using ==> mpower
Inputs must be a scalar and a square matrix.
Error in ==> ProjectIX>calculateKrKa at 268
x = cos(Alpharad)^2;
Error in ==> ProjectIX>pushbutton1_Callback at 677
[kr1, ka1, K1rot] = calculateKrKa(Fan, Z, Alpharad, Di, Pi, Do, Po, N, d, dm)
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> ProjectIX at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)ProjectIX('pushbutton1_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
Fan is a 10 x 1 array, alpha is also 10x 1 array. I wanna feed this two array into a equation to give me 10 results. And to display this results on a table.
|