Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Jul 8, 2008
Messages
1
Location
NL
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

Back
Top