Đ Đinh Yến New member Sep 19, 2021 #1 plot([0:1:8],[rectpulse(1,9)]’) and plot([0:1:8],ones(1,9)) will generate the same graph. A. True B. False
plot([0:1:8],[rectpulse(1,9)]’) and plot([0:1:8],ones(1,9)) will generate the same graph. A. True B. False
T Trang Mắm New member Sep 19, 2021 #2 Answer: a Explanation: ‘rectpulse(1,9)’ generates a column vector of 9 1’s. Since we have transposed it, the resultant is a row vector of 9 1s. ‘ones(1,9)’ also generates 9 1’s as a row vector. Thus, the above codes will result in the same graph. Upvote 0 Downvote
Answer: a Explanation: ‘rectpulse(1,9)’ generates a column vector of 9 1’s. Since we have transposed it, the resultant is a row vector of 9 1s. ‘ones(1,9)’ also generates 9 1’s as a row vector. Thus, the above codes will result in the same graph.