Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Matlab - problem with loops (continue function)

Status
Not open for further replies.

safwatonline

Advanced Member level 4
Joined
Nov 19, 2005
Messages
1,341
Helped
219
Reputation
438
Reaction score
48
Trophy points
1,328
Location
EGYPT
Activity points
9,038
Matlab

I have a matlab script that consists of a loop evaluating a certain function, sometimes this function doesn't converge, and hence the script stops without evaluating the rest of the loop.
is there someway to automatically skip the error (like putting Nan or zeros for the function output) and continue evaluating the rest of the loop.
thnx
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top