Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SE2607 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

function_handle in loop

Status
Not open for further replies.

faust1

Electrical
Jul 8, 2008
1
Hi dear all,
I have such function:
n=@(x) a1*(x<0)+a28(x>0)+a3*(x>l1) and so on
that define a specific value in any region(1D)
now I wanna use this function in a loop for known a and l matrices, and I can't!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor