Question: MATLAB Fundamentals ( Numerical Method ) only (Add your observations here) after each code please A = [1 2 3] AA = [1, 2, 3]

MATLAB Fundamentals ( Numerical Method )

only (Add your observations here) after each code please

A = [1 2 3]

AA = [1, 2, 3]

AAA = [1;2;3]

(Add your observations here)

(2)

B = A' BB = transpose(A) BBB = A(:) % this only converts a row to column an not from column to row

A = BBB(:)

C = BB'

CC = transpose(B)

(Add your observations here)

(3)

x = 0:2:10

xx = 1:10

xxx = 1:0.5:10

q = linspace(0,20,7)

(Add your observations here)

(4)

q = [1 2 3 4]

w = [3 4 5 6]

e = [q w]

e(2) = 10 % change the value of element 2 in e to 10

(Add your observations here)

(5)

c = [ 1 2 3; 4 5 6; 7 8 9]

h = numel(c)

h = length(c)

h = size(c)

(Add your observations here)

(6)

A = [1 2 3 4; 5 6 7 8; 9 10 11 12]

A(2,3) A(2,3) = 0 A(3,2) A(3,2) = 0

A(:,4) % where ":" means all available (here all available rows)

A(:,4) = 0

A(3,:) % where ":" means all available (here all available columns)

A(3,:) = 0 A(:,3)

A(:,3) = []

(Add your observations here

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!