Clear Filters
Clear Filters

Number of mathematical operations?

2 views (last 30 days)
Ferd
Ferd on 19 May 2014
Commented: Ferd on 20 May 2014
Good Evening Matlab Users,
I was wondering if there is a way to calculate the number of mathematical operations occurring within a code. I am planning to use my code within an system, but have a limitation on the number of the operations per pass.
I've searched online, but haven't come across any topic related to my question.
Appreciate any help.
-Ferdinand
  2 Comments
Sean de Wolski
Sean de Wolski on 19 May 2014
Why a limit on number of operations? What are you trying to do?
Ferd
Ferd on 20 May 2014
Hi
The time factor involved is the big hitter. I am planning to use it in an ECU.
Wanted to calculate the number of operations completed for the given time.
Hence, was wondering if there is an automated way to determine the number of operations.
-Ferdinand

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!