The aim is to find if there is an operator inside a MATLAB function call in a formula. The input is a string and the output is a boolean which is true if the string contains at least one operator in a function call, and false otherwise.
For example:
'min(var1+var2,2)' => true
'min(1,2)+min(3,4)' => false
'min(min(1,2),3))' => false
'min(min(1,var1+2),3))' => true
'4*var1' => false, there is no MATLAB function
You can assume that all opening brackets are closed.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers8
Suggested Problems
-
2475 Solvers
-
1750 Solvers
-
Sum all integers from 1 to 2^n
18055 Solvers
-
Back to basics 12 - Input Arguments
626 Solvers
-
Determine if input is a perfect number
267 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Difficult