d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > Homework Help > Quick Matlab Question
Add Reply New Topic New Poll
Member
Posts: 239
Joined: Aug 27 2014
Gold: 0.01
Sep 20 2014 01:18pm
lets say I have a 8x8 matrix with a bunch of numbers in it.

how would I delete columns 7 and 8 and rows 7 and 8 so it becomes a 6x6 matrix? or what is the command to do this?

This post was edited by TheDiablo3KnowItAll on Sep 20 2014 01:46pm
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Sep 20 2014 04:32pm
Code
A(row, :) = []
Member
Posts: 239
Joined: Aug 27 2014
Gold: 0.01
Sep 20 2014 06:38pm
how about multiplying just first column by a constant number?

Original matrix A
New Matrix B will have the first column miutipled by a constant but the rest are the same?
Go Back To Homework Help Topic List
Add Reply New Topic New Poll