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 number of operations

Status
Not open for further replies.

janatian

Newbie level 2
Newbie level 2
Joined
Feb 23, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
Hi

Is there a function in matlab to evaluate computation complexity I mean big O for m.files
 

You can try using the profiler.
 

Sorry can u explain more? what is profiler?
 

Hi,

Matlab has no means to analyze big O complexity of an algorithm.
Nevertheless, you could get experimental results for different values of "n" using the profiler or measuring time with "tic" and "toc", and in this way observe the trend when "n" grows. (In you mesure time, take into account that the first run takes more time.)
Regards

Z
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top