Question: Logical operators and arrays: 3 - input and truth table Given three 1 D arrays ( inputA , inputB, inputC ) , assign 1 D
Logical operators and arrays: input and truth table
Given three arrays inputA inputB, inputC assign D array andResult with the outcomes of a variable logicalAND operation.
Ex If inputA is inputB is and inputC is then andResult is
Function
Save
C Reset
MATLAB Documentation
function andResult LogicalANDinputA inputB, inputc
Assign andResult with the truth table outcomes for a variable logicaland operation
andresult inputA;
end
Code to call your function
C Reset
LogicalAnd
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
