Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
long symbolic equation, cannot display

Subject: long symbolic equation, cannot display

From: Angie

Date: 4 Mar, 2008 17:16:02

Message: 1 of 4

Hi,

I have a symbolic determinant that can be calculated, yet
cannot be displayed. The command window displays some of the
result and says the rest is truncated. I need to have the
whole equation. What is the best way or is there a way to
get the whole equation?

Thank you,

Angie

Subject: long symbolic equation, cannot display

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 4 Mar, 2008 17:48:52

Message: 2 of 4

In article <fqk04i$fv4$1@fred.mathworks.com>,
Angie <angie11tr@yahoo.com> wrote:

>I have a symbolic determinant that can be calculated, yet
>cannot be displayed. The command window displays some of the
>result and says the rest is truncated. I need to have the
>whole equation. What is the best way or is there a way to
>get the whole equation?

You might have to write it to a file using fprintf() or fwrite().
But first I would try to textwrap() it to see if that helps.
--
  "To all, to each! a fair good-night,
   And pleasing dreams, and slumbers light" -- Sir Walter Scott

Subject: long symbolic equation, cannot display

From: Roy Mathew

Date: 4 Mar, 2008 21:15:24

Message: 3 of 4

If you just need the equation, you can do the following:

If the symbolic equation is in the variable 'A',

>>clipboard('copy', char(A))

The equation is pasted in the clipboard. Now it can be pasted into any
editor.

Roy

"Angie " <angie11tr@yahoo.com> wrote in message
news:fqk04i$fv4$1@fred.mathworks.com...
> Hi,
>
> I have a symbolic determinant that can be calculated, yet
> cannot be displayed. The command window displays some of the
> result and says the rest is truncated. I need to have the
> whole equation. What is the best way or is there a way to
> get the whole equation?
>
> Thank you,
>
> Angie

Subject: long symbolic equation, cannot display

From: Angie

Date: 5 Mar, 2008 05:59:01

Message: 4 of 4

Thank you, the clipboard copy worked (textwrap takes too
much time and eats up memory (a lot))...

Angie

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us