QUESTION 4
MWE08Bpart1: Predict the Output Do NOT use MATLAB to solve this question
For the below code::
If the code does NOT produce an error, predict the output.
If the code DOES produce an error: (1) state what line the FIRST error is found and (2) what the error is.
(1) % MWE08Bpart1
(2) clear ; clc
(3) A = [6, 7, 8, 3, 8, 3] ;
(4) B(1, 5) = 0 ;
(5) counter = 1 ;
(6) for i = 1 : length(A)
(7) B(i) = A(i) * counter ;
(8) B(i) = B(i) - 3 ;
(9) counter = counter + 1 ;
(10) end
(11) B
THE PROGRAM WILL NOT PRODUCE ANY KIND OF ERROR AND WILL OUTPUT
B =
3 2 4 0 2 1 0
QUESTION 5
MWE08Bpart2: Predict the Output Do NOT use MATLAB to solve this question
For the below code::
If the code does NOT produce an error, predict the output.
If the code DOES produce an error: (1) state what line the FIRST error is found and (2) what the error is.
(1) % MWE08Bpart2
(2) clear ; clc
(3) A = [6] ;
(4) B = [4] ;
(5) C = [10, 8, 3, 3, 5, 2] ;
(6) for i = 1 : length(C)
(7) A(i + 1) = B(i) - mod(B(i), 2) ;
(8) B(i + 1) = C(i) - A(i + 1) ;
(9) end
(10) A ;
(11) B
Hello, there.
I am very interested in your Project.
I'm a Matlab expert, with over 5+ years experience dealing with Matlab Programming.
I can help you well and I will serve you with my best if you employee me.
I will be very glad if you contact with me.
Thanks.
Hi sir
I have more than 6 years of experience developing matlab codes
Talking about my background I am mechanical engineer and I have a Master on mechanical eningeering
I will be more than glad to support you
Completed Time: 24 hours (independent and fast workers only) or your requirement deadline. I would like to work on your project and want to be discussion. I have a 5+ years of experience in field. I can start working immediately on this project if needed. I have gone through the job description and understand your requirements. I can complete this work with high quality. I would really like to work with you on this project. If interested, Kindly contact me via chat for further details and discussion.
Thank you
PATRICK
Hi, i hope you have a great day. Being an electrical engineer i have experience of more than 2 years in matlab and expert in other programming languages. I would do your work perfectly. Thanks!
My hard earned skills, perception, dedication and my policy of "work above all" makes me a potent person who can deliver you best within the stipulated time frame. Being a civil engineer gives me an additional advantage to meet the quality required for your work.