how to generate the rest of elements of a matrix if only the first row and first column of the matrix is known?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sonia Goyal
el 8 de Abr. de 2019
Respondida: Walter Roberson
el 8 de Abr. de 2019
Suppose I have a matrix of N*N whose first row is, say [0 10 20 30] and first column is [ 0 5 10 15 ] and now i want to genetare the rest of the marrix of order 4*4 only with the help of the row and column mentioned above.
P.S : The elements should be calculated diagonally corresponding to each and every element of row and column.
for example, a22 = sqrt(a12^2 + a21^2), a23 = sqrt(a13^2 +a21^2) and so on......
and, a32 = sqrt(a12^2 + a31^2), a33 = sqrt(a13^2 + a31^2) so on....
and same trend follows for the rest of the elements.
1 comentario
KSSV
el 8 de Abr. de 2019
YOu are missing something.......re-think on your problem and ask the question.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!