Project

Create row and column matrix in matlab

Objective: clear all close all clc % Create row and column matrix in matlab % column vector a = [ 1 2 3 4 ]; b = [ 1:0.5:4 ]'; % row vector c = [ 5 ; 6 ; 7 ; 8 ]; d = [ 1:1:10]; % 4*4 matrix e = [ 1 2 3 4 ; 5 6 7 8 ; 9 10 11 12 ; 13 14 15 16 ]; f = [ 1 2 3 4 ; 5 6 7 8 ]; % end

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.