Question: (10/50) Question Four: A) Write the screen display for the following script in the table.4 pt./10 %script A %script A message = ('rent strapped'); Display

 (10/50) Question Four: A) Write the screen display for the following

(10/50) Question Four: A) Write the screen display for the following script in the table.4 pt./10 %script A %script A message = ('rent strapped'); Display # Display concat = ['me'] for i = 1:3 j = 3*i; concat = (concat, message()]; disp (concat) 5 end Ex: concat=me 1 2 3 4 6 B) Write the screen display for the following script and associated function in the space provided. For this question assume each output is put on one line and there are no blank lines between the outputs. 6 pt./10 % script B message1 = 'eating good'; message2 = 'makes studying satisfying'; total = [messagel,' food ', message2]; sl=['Be ',message1 (8:11)]; 32=''; %script B Display # Display 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 for i=[7,8,2,11] s2=[S2, message2 (i)]; end 53= [message2 (16:17), message2 (21), message2 (4)]; disp(total) disp (51) disp ( [2,' ',33]) 5/7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!