Question: 2) Write a MATLAB script to create the following matrix by using nested for loops. 2111 1 5 4 1 1 1 5 5

2) Write a MATLAB script to create the following matrix by using nested for loops. 2111 1 5 4 1 1 1 5 5 6 1 1 5 5 5 8 1 5 555 10 Q3) Write a MATLAB script file that finds the smallest odd integer that is divisible by 19 and whose square root is greater than 112. Use while loop in the program. The loop should start from I and stop when the number is found. Hint: use rem(n,19) function.
Step by Step Solution
3.49 Rating (156 Votes )
There are 3 Steps involved in it
question 2 clc clear create matrix of all ones matrix ones55 loop f... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
63640f0fb6187_237477.pdf
180 KBs PDF File
63640f0fb6187_237477.docx
120 KBs Word File
