MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Anonymous function and function handle 

Subject: Anonymous function and function handle From: Mohamed Nasr Date: 9 Feb, 2011 21:18:03 Message: 1 of 11 
Hi, 
Subject: Anonymous function and function handle From: Steven_Lord Date: 10 Feb, 2011 04:27:22 Message: 2 of 11 

Subject: Anonymous function and function handle From: Mohamed Nasr Date: 10 Feb, 2011 11:00:05 Message: 3 of 11 
When I write: 
Subject: Anonymous function and function handle From: Steven_Lord Date: 10 Feb, 2011 14:33:03 Message: 4 of 11 

Subject: Anonymous function and function handle From: Mohamed Nasr Date: 10 Feb, 2011 15:05:06 Message: 5 of 11 
Sorry, they are function handles and not matrices also N=5 and not 11 so that the matrix dimensions of [eye(2*N+1)A*B] agree and here is the code: 
Subject: Anonymous function and function handle From: Steven_Lord Date: 10 Feb, 2011 17:50:59 Message: 6 of 11 

Subject: Anonymous function and function handle From: Mohamed Nasr Date: 10 Feb, 2011 19:41:09 Message: 7 of 11 
I cannot evaluate B(m,n)...it must be function in x...the idea is that I need to find the value for x at which the determinant of (eye(2*N+1)A*B) equals zero...this cannot happen except if we made each element in A and B as function of x then get the determinant and solve its equation in x (determinant=0). 
Subject: Anonymous function and function handle From: Steven_Lord Date: 10 Feb, 2011 19:59:43 Message: 8 of 11 

Subject: Anonymous function and function handle From: Mohamed Nasr Date: 11 Feb, 2011 13:58:03 Message: 9 of 11 
When I did that I faced the following error within the fzero function: 
Subject: Anonymous function and function handle From: Steven_Lord Date: 11 Feb, 2011 14:22:27 Message: 10 of 11 

Subject: Anonymous function and function handle From: Mohamed Nasr Date: 11 Feb, 2011 16:41:04 Message: 11 of 11 
Thanks for your patience and trials to help 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.