Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

display range variable as a table

Status
Not open for further replies.

wcotter

Civil/Environmental
Apr 23, 2004
3
US
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
 
Replies continue below

Recommended for you

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.
 
I'm having the exact same issue as wcotter. Any help is greatly appreciated!
Thanks
 
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



 
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
 
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
 
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
 
This is the same problem I just now reported in:


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."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top