The following MATLAB function M-file called test and the script are given % function function b = test (c) global a a =
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The following MATLAB function M-file called test and the script are given % function function b = test (c) global a a =
The following MATLAB function M-file called test and the script are given % function function b = test (c) global a a = a + 1; b = c + a; end % % script clc, clear global a a = 3; b = test (a); q = a + b; what will be the resulting value of q in this script? 11 O 10 09 12
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!