×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

display range variable as a table

display range variable as a table

display range variable as a table

(OP)
I am new to using mathcad 13.  I can create range variables and display them as a matrix without issue, however if i set the Display Option to Automatic or to Table, i get a 2 x 2 table with 0 in the upper left cell but no other data.  yet if i double click on the table and change the display option to matrix, all the data is there.  Any suggestions?
Thanks

RE: display range variable as a table

I just tried to recreate the problem you are having, but was unsuccessful.  Maybe it's a worksheet option or something.  I would try to copy the expression and result into a worksheet that you know works and see what happens.

RE: display range variable as a table

I'm having the exact same issue as wcotter.  Any help is greatly appreciated!
Thanks

RE: display range variable as a table

Sounds like an installation problem, which usually involves, at the minimum, a repair.

Note, however, range variables are NOT vectors, so while Mathcad displays them as such, there are idiosyncrasies in certain functions and operations that may not work correctly with range variables in general.

TTFN



RE: display range variable as a table

Is your range variable also a vector?  I see similar results on my system for the following:

test[0 := 1;20
test =

Shows a 2x2 table with 0 in the upper left for table display and the actual data for matrix display (if expand nested arrays is checked).

If this is the case, then you can display the data in a table by calling the appropriate cell, for example:

test[0 =

Peter

RE: display range variable as a table

(OP)
perhaps i should provide more detail, the issue is in the display of a scalar range variable, eg

x:=1..20
x=

the result, if view result is left in automatic is

      0   .
x=
      .   .

where the dots represent blank values in a table.  if i change format results to matrix,

x= a single column matrix listing 1 - 20 vertically.

thanks for your time, i appreciate the help

RE: display range variable as a table

When I try it with result display set either automatic or table, the result is shown as a table with one column and row values 1 through 20 (only 16 rows shown without scrolling).  With result display set to matrix, I get a vector with values 1 through 20.

I am using Mathcad Version 13.1
 

RE: display range variable as a table

This is the same problem I just now reported in:

http://www.eng-tips.com/viewthread.cfm?qid=180218&page=1

There seems to be a bug because the MathCAD help says:

"Long vectors and range variables both display using output tables. However, range variables have the row and column labels turned off by default, while vectors have the row and column labels turned on by default."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close