How to display an equation in MATLAB?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How do i display an equation in msgbox or in other way?
Respuestas (1)
Prabhanjan Mentla
el 27 de Nov. de 2020
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 comentarios
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!