Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Matrix Help

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-08-2011
04:37 AM

04-08-2011
04:37 AM

Matrix Help

For a school project involving the modeling of the dynamics of a hydraulic servovalve, I need to create matrices in order to create the transfer functions for valve model.

Now when I try to make a 3x2 matrix, I need the values to be [0 0; 0 1/m; K 0].

I have modified the variables m and K to be unitless. However, I get an error with the 2nd 0 ( [0 **0**; 0 1/m; K 0] ), has a unit of A/m^3 although I entered 0.

Later I get an error with another matrix in which it claims that a constant is 'unitless' while everything else is '[]unitless'

Any thoughts?

Thx

Finny

Labels:

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-08-2011
04:52 AM

04-08-2011
04:52 AM

Re: Matrix Help

Finny wrote:

For a school project involving the modeling of the dynamics of a hydraulic servovalve, I need to create matrices in order to create the transfer functions for valve model.

Now when I try to make a 3x2 matrix, I need the values to be [0 0; 0 1/m; K 0].

I have modified the variables m and K to be unitless. However, I get an error with the 2nd 0 ( [0

0; 0 1/m; K 0] ), has a unit of A/m^3 although I entered 0.Later I get an error with another matrix in which it claims that a constant is 'unitless' while everything else is '[]unitless'

Any thoughts?

Thx

Finny

From the sound of it you have hit on the limitation that arrays need to be all of the same unit (strictly, dimension).

The solution is to put all values into the same, preferably coherent, system of units (eg, SI) and then write your worksheet in a unitless form; alternatively, use conversion constants to make all value unitless, then restore the results to the expected units.

Stuart

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-08-2011
05:01 AM

04-08-2011
05:01 AM

Re: Matrix Help

We can have in Mathcad **-15 vectors and matrix with unitless values or with values of one dimention (mass, time etc).

We can have vectors and matrix with values with different dimention only in Mathcad Prime.

One example (sorry - in Russian):

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-08-2011
06:06 AM

04-08-2011
06:06 AM

Re: Matrix Help

that is what I have been with all my variables, m, b,etc. They are all unitless when they go into the matrix. The problem however is when I put a single digit eg 0 or 1 into the matrix, for some reason mathcad automatically gives the matrix a unit even though I just want the digit.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-08-2011
08:09 AM

04-08-2011
08:09 AM

Re: Matrix Help

Finny wrote:

Finny,

Could you please post your worksheet (or an extract that shows the problem)?

Stuart

Top Tags