Borrar filtros
Borrar filtros

Write a MATLAB function called "matrix Muli" that takes in two matrices A and input and return the product matrix Pas output, where =AXI. Du not use the readily available matrix multiply function *" when you write this function file. In case the call

1 visualización (últimos 30 días)
Write a MATLAB function called "matrix Muli" that takes in two matrices A and input and return the product matrix Pas output, where =AXI. Du not use the readily available matrix multiply function *" when you write this function file. In case the caller
inputs A and such that they cannot be multiplied, then the function should also return
an error stating the reason and wet l ar value of .99
  2 comentarios
Stephen23
Stephen23 el 25 de Ag. de 2020
Editada: Stephen23 el 25 de Ag. de 2020
"Write a MATLAB function called "matrix Muli" ..."
matrix Muli is not a valid function name. Space cahracters are not permitted in function names.
"...that takes in two matrices A and input..."
Although input is overused by beginners, it is the name of an inbuilt function and should not be shadowed.
"... and return the product matrix Pas output, where =AXI."
I was not defined so far. Using uppercase X to represent matrix multiplication is highly unusual.
"In case the caller inputs A and such that they cannot be multiplied, then the function should also return an error stating the reason and wet l ar value of .99"
Very unclear: errors are thrown, but returning a particular value is not an error, just a special case. Which do they want? The last part of the sentence is not comprehensible.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by