Miscellaneous Test on MATLAB - 2

Executing? in ?the ?Command? Window? the ?following? code

a =?(1:3)’ ; (a(1,2))’

returns


Executing? in? the ?Command? Window ?the ?following ?code

a?=?ones(3,4);? b?=?a(4,3) ,size(b);

returns


Executing ?in ?the? Command ?Window ?the ?following ?code

a =?[1:2]’ ;?size(a)

returns


Which ?of ?the ?following ?statements ?is ?correct??


Executing? in? the ?Command ?Window? the ?following ?code

A?= eye(1,10);??size(A(2,2))

returns


Executing? in? the ?Command ?Window ?the ?following ?code

A?=?[1:1:5;;2:1:6]?; size(A)

returns


Which ?of ?the ?following ?statements ?is ?correct??


After ?executing ?the ?following ?script ?file ?in ?MATLAB?

x?= [2:4 ;?-1:1 ;?1?2?3];

y=x(2,:);

size(y')

the ?displayed? result?is


After ?executing ?the ?following? script ?file ?in ?MATLAB?

x?=?3i;

y?=?x/2*sqrt(-1);

z?=?x?+?y

the ?displayed ?result?is


After? executing? the? following ?script ?file ?in? MATLAB?

x?=?-i;

y?=?x*sqrt(-1);

x?+?y

the ?displayed? result?is


































Description:

Part of our MATLAB for Financial Engineering Course: http://www.wiziq.com/course/7225-matlab-for-financial-engineering

Our Other Courses:

http://www.wiziq.com/course/7526-bloomberg-assessment-test-bat-exam-prep
http://www.wiziq.com/course/19620-vba-for-financial-engineering-and-modeling

Tags:

MATLAB  Finance

Discussion
Shivgan Joshi
Free Class on: CFA,BAT,FRM, GMAT, Quant FinanFollow me to get updates.
User
1805 Members Recommend
2406 Followers

Your Facebook Friends on WizIQ

More Tests By Author

Miscellaneous Test on MATLAB - 1
10 Questions | 1750 Attempts

Miscellaneous Test (Make your Brand....course) - 11
7 Questions | 70 Attempts

Miscellaneous Test (Make your Brand....course) - 10
7 Questions | 35 Attempts