HOW TO REPLACE A COLUMN VECTOR IN MATRIX
Mostrar comentarios más antiguos
1.How to replace the second column of A with the vector v = [1,-2,4]' for the following matrix
A=(1 2 3 4 5 11 12 13 14 15 21 22 23 24 25) without using spaces or semi colons.
2.For the same matrix above mentioned, each row of A, we want to calculate the square of the norm using the function sum and elementwise operations.
1 comentario
Rahul Yadav
el 4 de Jul. de 2020
What is the answer of 1? please tell me.
Respuestas (1)
Daniel Stein
el 3 de Oct. de 2018
Editada: Daniel Stein
el 3 de Oct. de 2018
0 votos
This is somebody's homework, isn't it?
For part 1, it's e19cabca7611608768af0409af2599c29ac80c2f
For part 2, it's 148431be65a6633a461eb949fd26da80e72cd242
I hash, therefore, I am.
2 comentarios
Meenakshi S
el 8 de Oct. de 2018
ajay preet
el 26 de Jun. de 2019
Can you provide the right answer please.
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!