Azzera filtri
Azzera filtri

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 visualizzazione (ultimi 30 giorni)
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 Commenti
Stephen23
Stephen23 il 25 Ago 2020
Modificato: Stephen23 il 25 Ago 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by