|
|
input arguments of type 'double'
Hi every body;
what shoud i do to get rid of this error "input arguments of type 'double'" here?
for i = 1:n
for j = 1:m
k =k+1;
rad(k) = exp(j * dz - dz);
g1(k)= pp(EqN);
ang(k) = q;%*180/pi;
end
end
r=rad';
p=ang';
[qx,qy] = meshgrid(r,p);
qz = F(qx,qy);
tanxx
|
|
0
|
|
|
|
Reply
|
mahshid
|
10/21/2010 1:52:04 AM |
|
It is always helpful to put the ENTIRE text of the error message. I bet the ENTIRE error message even says which variable MATLAB thinks you are calling as a function.
|
|
0
|
|
|
|
Reply
|
Matt
|
10/21/2010 2:19:04 AM
|
|
Hi Matt,
here is the entire text of the error:
??? Undefined function or method 'F' for input arguments of type 'double'.
Error in ==> NE at 200
qz = F(qx,qy);
"Matt Fig" <spamanon@yahoo.com> wrote in message <i9o7uo$c5o$1@fred.mathworks.com>...
> It is always helpful to put the ENTIRE text of the error message. I bet the ENTIRE error message even says which variable MATLAB thinks you are calling as a function.
|
|
0
|
|
|
|
Reply
|
mahshid
|
10/21/2010 3:32:05 AM
|
|
"mahshid " <mahshid770@yahoo.com> wrote in message <i9oc7k$8f5$1@fred.mathworks.com>...
> Hi Matt,
>
> here is the entire text of the error:
> ??? Undefined function or method 'F' for input arguments of type 'double'.
>
> Error in ==> NE at 200
> qz = F(qx,qy);
Great, we are getting somewhere! Now, according to your thinking, is F a function or a variable? If you were thinking that F is a variable, MATLAB doesn't see where you defined it. You need to make sure it is defined in the local workspace. If you were thinking that F is a function, what kind of function is it? Is it an M-File function? If so, is it in the local directory or on the search path? These are the kinds of questions you need to ask yourself in figuring out what went wrong.
|
|
0
|
|
|
|
Reply
|
Matt
|
10/21/2010 2:45:08 PM
|
|
I too faced same kind of problems. Some times the program works and some time it doesn't. after searching web for a long time i could solve it.
1st. Make sure your all working files are in folders which were saved in set path.
finally. if it is not solved yet... keep all the files(functions and main program) in working folder then run. I bet you don't face this problem again.
rgds,
Arun
"mahshid " <mahshid770@yahoo.com> wrote in message <i9o6c3$3gk$1@fred.mathworks.com>...
> Hi every body;
>
> what shoud i do to get rid of this error "input arguments of type 'double'" here?
> for i = 1:n
> for j = 1:m
> k =k+1;
> rad(k) = exp(j * dz - dz);
> g1(k)= pp(EqN);
> ang(k) = q;%*180/pi;
> end
> end
> r=rad';
> p=ang';
> [qx,qy] = meshgrid(r,p);
> qz = F(qx,qy);
>
> tanxx
|
|
0
|
|
|
|
Reply
|
narun.iitb (1)
|
10/27/2012 3:07:08 PM
|
|
|
4 Replies
1351 Views
(page loaded in 0.039 seconds)
Similiar Articles: input arguments of type 'double' - comp.soft-sys.matlabCall GUI function from another GUI - comp.soft-sys.matlab ... Undefined function or method 'GetSlice' for input > arguments of type 'double'. > > How can I call this ... ??? Undefined function or method 'triang' for input arguments of ...Hi. I'm trying to run a matlab code that used to work, and I get this message: ??? Undefined function or method 'triang' for input arguments of type 'double'. Error using ==> feval Undefined function or method 'obj_fcn_power ...Error using ==> feval Undefined function or method 'obj_fcn_power' for input arguments of type 'double'.Caused by:Failure in initial user-supplied objective function ... ??? Undefined function or method 'gt' for input arguments of type ...Undefined function or method 'eq' for input arguments of type ... Undefined function or method 'eq' for input arguments of type ... Undefined function or method 'eq ... argument of type "double" is incompatible with parameter of type ...error: argument of type "double" is incompatible w... ... or method 'ftt' for ... argument of type "double" is incompatible with parameter ... input arguments ... ??? Undefined function or method 'eq' for input arguments of type ...Undefined function or method 'triang' for input arguments of ... Undefined function or method 'triang' for input arguments of type 'double'. ... Undefined function or ... error !!!!! in GUI - comp.soft-sys.matlabError using ==> feval Undefined function or method 'edit42_CreateFcn' for input arguments of type 'double'. Error in ==> gui_mainfcn at 96 ... ??? Undefined function or method 'setdbprefs' for input arguments ...input arguments of type 'double' - comp.soft-sys.matlab Call GUI function from another GUI - comp.soft-sys.matlab ... Undefined function or method 'GetSlice' for ... FFT Not Defined for Double - comp.soft-sys.matlabUndefined function or method 'ftt' for input arguments of type 'double'. There is only one among eight is good TFF, FTT, FTF, FFT, TFT, TTF, FFF, TTT Bruno ??? Input argument "t" is undefined. - comp.soft-sys.matlab ...On 10-12-15 02:52 PM, Robert Graham wrote: > ??? Undefined function or method 'armaxfilter_simulate' for input arguments > of type 'double'. Matlab- input arguments of type 'double' ????Computing & Technology > Math & Science Software ... Hi there, I was wondering if anyone could help me. Yesterday I wrote the command [z,r ... The error message means ... input arguments of type 'double' - Newsreader - MATLAB CentralFile exchange, MATLAB Answers, newsgroup access, Links, and Blogs for the MATLAB & Simulink user community 7/22/2012 10:41:54 PM
|
|
|
|
|
|
|
|
|