Question: Consider the following function a ( i , j ) = { j 3 if | i j | < 3 i + 5 jif
Consider the following function
aij
jif i ji jif i j
If we were to define aij as an anonymous function in Matlab, ie a@ij
what would be the code for the part of the function using characters or less
To check your work, the code that you come up with together with a@ij should produce the below matrix when used with the creatematrix function from the tutorial file.
Note: Do not include the a @ij part of the function in the answer box.
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
