Effacer les filtres
Effacer les filtres

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 vue (au cours des 30 derniers jours)
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 commentaires
Stephen23
Stephen23 le 25 Août 2020
Modifié(e) : Stephen23 le 25 Août 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.
Rik
Rik le 25 Août 2020
You can find guidelines for posting homework on this forum here.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by