Question: Need code written in Matlab please Write a function in a separate .n file with definition function (flag1, flag2] = threeNumberCmp(a, b, c) Your function

Need code written in Matlab please![separate .n file with definition function (flag1, flag2] = threeNumberCmp(a, b, c)](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3237ebcf6e_36666f3237e600a4.jpg)
Write a function in a separate .n file with definition function (flag1, flag2] = threeNumberCmp(a, b, c) Your function should do the following: Use if-elseif-else blocks for conditional execution. Make two types of checks o whether all three input numbers are negative, zero, or positive o whether the three numbers are given in increasing or decreasing order Return two flag variables with one of the following values: -1, if the three numbers are in decreasing order (i.e. a > b >c) flagi= 1, if the three numbers are in increasing order (i.e. a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
