hiii, I have the problem of multiplying two cells array (present in the same array)and having a function type ; A={@(p) 2./(p+2),@(p)1./p} B=A{1}*A{2};
so I got the error Undefined function 'mtimes' for input arguments of type 'function_handle'. which is the error in B={A{1}*A{2}}; can someone help me to know how to multiply functions present as cells in arrays, in order to use them later for iterations and laplace inverse.

댓글 수: 2

Jan
Jan 2017년 3월 22일
You forgot to explain what you expect as result. As long as the multiplication of cells is not defined, we cannot guess, what you want to obtain.
Note that the error does not concern the multplication of cells, but of function_handles. Do you want to do yome symbolic maths?
Adam
Adam 2017년 3월 22일
편집: Adam 2017년 3월 22일
What are you wanting the result to be of multiplying two function handles?
Also please at least put some effort into adding intelligent tags to your question rather than just random letters. If it isn't important to you to give the people who might answer your question the relevant information why do you expect us to consider it important enough?

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2017년 3월 22일

편집:

2017년 3월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by