Question: According to mathlab,also i dont understand find command Please explain Pts) Rewrite the following MATLAB code using ind command. DO NOT USE LOOPSI! USE find
Pts) Rewrite the following MATLAB code using ind command. DO NOT USE LOOPSI! USE find COMMAND!!! clear;clc for i-1:100 if rem(i,2)0&rem(i,4)-0 s Si; end end % Displaying Result fprintf ('Summation of integers betveen 1 and 100, which are divisible by 2 but not divisible by 4 is %d" ',s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
