필터 지우기
필터 지우기

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 (최근 30일)
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
Stephen23
Stephen23 2020년 8월 25일
편집: Stephen23 2020년 8월 25일
"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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by