Converting scalar equations to Vector Equations

How to change * to .* , / to ./ and ^ to .^ in a predefined equation that cannot be rewritten from scratch due to its length. Please check your answers to make sure they are working. I tried converting equation to character and modifying it and converting back to equation but it did not work for me.

 채택된 답변

Matt J
Matt J 2019년 1월 15일

0 개 추천

Use the vectorize command.

댓글 수: 1

S H
S H 2019년 1월 15일
Amazing. I didn't know about this command. Thank you.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

S H
2019년 1월 15일

댓글:

S H
2019년 1월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by