Find the size of the matrix, then multiply both values by 10 and make it into a column vector.
So if A = [ 1 2 3;
4 5 6;
7 8 9]
B = [ 30;
You say to make it a column vector, but the solutions are row vectors.
ah i just noticed that. sorry i will fix it.
Back to basics 23 - Triangular matrix
Matrix indexing with two vectors of indices
Duplicate a character
Upper triangular matrix
Deleting an element in a matrix
UICBioE240 problem 1.10
UICBioE240 problem 1.4
UICBioE240 problem 1.3
UICBioE240 problem 1.11
UICBioE240 problem 1.14
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office