How to display an equation in MATLAB?
조회 수: 20 (최근 30일)
이전 댓글 표시
How do i display an equation in msgbox or in other way?
답변 (1개)
Prabhanjan Mentla
2020년 11월 27일
Hi,
As dbp suggested, you could use directly use equation in msgbox. However, sprintf inside the msgbox could be used something like below.
h = msgbox(sprintf('The equation is y=%dx+%d', m, c));
For more information on msgbox, you may refer to below links.
Hope this helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!