create a magic 5x5 matrix and remove the diagonal elements to generate a new 5x4 matrix. provide 2 different solutions
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Create a magic 5x5 matrix and remove the diagonal elements to generate a new 5x5 matrix.Provide 2 different solutions.
please can you provide explanations for why you do each step.
2 comentarios
Steven Lord
el 9 de Mayo de 2019
This sounds like a homework assignment. If it is, show what you've done to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to offer guidance.
If you're not sure even where to start because you aren't sure how to work with MATLAB, I strongly recommend going through the MATLAB Onramp free tutorial which will help you learn the essentials of MATLAB programming.
If you're unclear about the question as a whole, I recommend contacting your professor and/or the teaching assistant for your course for clarification.
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!