Question: 8. Rewrite the script of Example 2.8 without any use of loops, using vectorized operations in- % Generate all positive numbers of the system (2,3,-2,3)


8. Rewrite the script of Example 2.8 without any use of loops, using vectorized operations in- % Generate all positive numbers of the system (2,3,-2,3) for i = 1:0.25:1.75 for j -2:3 end end x=[x -x 0] ; x= sort (X); % Sort y-zeros (1,length (x) ) ; plot (x, y, '+') % Add all negative numbers and 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
