saving . . . saved matrix error has been deleted. matrix error has been hidden .
matrix error
Title
Question
How to multiply row 1 and 2 with scalar 3.

Scilab Matrix-Operations 09-10 min 20-30 sec 04-05-19, 12:41 p.m. deepika.spsl

Answers:

A=[1,2,3;4,5,6]
B=3*A
04-05-19, 12:43 p.m. manasdas17


For a matrix A:

A(1:2, :) = A(1:2,:)*3;
04-05-19, 12:44 p.m. siddharth11235@gmail.com
A=[1,2,3;4,5,6]
A(1,:)=A(1,:)*3
A(2,:)=A(2,:)*2
 A  = 

   3.   6.    9. 
   8.   10.   12.

04-05-19, 3:30 p.m. drvkannan786

Login to add comment


Log-in to answer to this question.