Question: Matlab a. Write a function named logicStuff that has two inputs, logic1 and logic2. It should have two outputs, logic 3 and logic4. All of
a. Write a function named logicStuff that has two inputs, logic1 and logic2. It should have two outputs, logic 3 and logic4. All of these variables should be logical variables. logic3 should be false only when both inputs are true. logic4 should be true if logic1 is not true or logic2 is true. b. Once you have written this function, write the proper syntax for calling this function elsewhere in MATLAB. Use appropriate inputs (i.e. actual values) when writing this syntax
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
