COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

symbolic math typesetting

• Follow

```Hello,

I just started using the MuPad notebook interface for matlab.  I have a question about the formatting of the equations after they are entered.  For example, if I enter the equation

p = A*(D/2)^2*(S/4)

it prints p=ASD^2/16 (in a nice typeset way)

is there a way to keep it from simplifying the equation, or a way to get the nice typesetting without reducing the formula?  Basically, I would like to have in the notebook a nice, typeset version of my original formula for reference.

thanks,
Melissa
```
 0

```On 10-08-26 01:53 PM, Melissa wrote:
> I just started using the MuPad notebook interface for matlab. I have a
> question about the formatting of the equations after they are entered.
> For example, if I enter the equation

> p = A*(D/2)^2*(S/4)

> it prints p=ASD^2/16 (in a nice typeset way)

> is there a way to keep it from simplifying the equation, or a way to get
> the nice typesetting without reducing the formula? Basically, I would
> like to have in the notebook a nice, typeset version of my original
> formula for reference.

No, there is no way to do that. MuPad automatically simplifies some
expressions, and automatically moves constant multipliers and dividers.

You might be able to work around the issue by using hold() or freeze(),
but it can be messy to prevent constants from being merged.
```
 0
Reply roberson (2852) 8/26/2010 7:00:01 PM

```On Aug 26, 3:00=A0pm, Walter Roberson <rober...@hushmail.com> wrote:
> On 10-08-26 01:53 PM, Melissa wrote:
>
> > I just started using the MuPad notebook interface for matlab. I have a
> > question about the formatting of the equations after they are entered.
> > For example, if I enter the equation
> > p =3D A*(D/2)^2*(S/4)
> > it prints p=3DASD^2/16 (in a nice typeset way)
> > is there a way to keep it from simplifying the equation, or a way to ge=
t
> > the nice typesetting without reducing the formula? Basically, I would
> > like to have in the notebook a nice, typeset version of my original
> > formula for reference.
>
> No, there is no way to do that. MuPad automatically simplifies some
> expressions, and automatically moves constant multipliers and dividers.
>
> You might be able to work around the issue by using hold() or freeze(),ht=
> but it can be messy to prevent constants from being merged.

hmmm....  I was afraid of that.  I will look into those functions.  I
was just playing around with it and found that I can cut and paste
images into a notebook.  If nothing else,  I suppose I could just add
a reference equation as an image in the notebook.

melissa
```
 0

2 Replies
243 Views