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
- :
- How can I express matrix?

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

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

10-22-2014
02:18 AM

10-22-2014
02:18 AM

Re: How can I express matrix?

StuartBruff wrote:

It's a shame that Mathcad Prime doesn't support a Mathcad 15 feature, namely the ability to enter a "range definition" (that is expressions of the form "a,b..c").

It is a shame as I use both of those feature in the majority of cases when creating vectors.

StuartBruff wrote:

In M15, using my vec or seq functions, I can write, for example, x:= vec(0,0.1..1) and get back the vector [0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1], or even r:=0,0.1..1 , x:=vec(r) ... I think this last form might work, but I'm not sure.

Stuart

Correct, it does work in that format but does not look as neat.

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

10-22-2014
07:29 AM

10-22-2014
07:29 AM

Re: How can I express matrix?

I am sorry to not respond to your advice.

Actually, I didn't intend to ignore your advice.

I tried to express 'vector' for my work. But I got error continually so I gave up by using 'vector'

I know if I use 'vector', I need to make same matrix about columns and raws. if I don't, I continually got errors.

But My variables's columns and raws isn't same.

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

10-22-2014
07:34 AM

10-22-2014
07:34 AM

Re: How can I express matrix?

Is what Werner posted what you wanted?

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

10-22-2014
07:45 AM

10-22-2014
07:45 AM

Re: How can I express matrix?

jinsuk Lee wrote:

I am sorry to not respond to your advice.

Actually, I didn't intend to ignore your advice.

I tried to express 'vector' for my work. But I got error continually so I gave up by using 'vector'

I know if I use 'vector', I need to make same matrix about columns and raws. if I don't, I continually got errors.

But My variables's columns and raws isn't same.

A matrix doesn't need to be square (that is, have the same number of columns and rows) - it can be rectangular.

Are you describing a different situation, eg where you have a number of vectors each of different lengths? If so, then it might be possible to solve your problem using nested arrays, that is each element of a vector (or matrix) can be another vector (or matrix) - which in turn can also have elements that are arrays.

Stuart

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

10-22-2014
07:53 AM

10-22-2014
07:53 AM

Re: How can I express matrix?

... although, I suppose the image below better shows the existence of "ragged" arrays ....

Stuart

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

10-22-2014
08:30 AM

10-22-2014
08:30 AM

I am not sure. But I guess it is not my wanting.

I attached exfiles.

Thank you very much for your effort for me

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

10-22-2014
08:34 AM

10-22-2014
08:34 AM

Re: How can I express matrix?

So do you want the same results shown in the Excel table produced in Mathcad.

If you can show an **example of the results** you want to calculate we should be able to help.

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

10-22-2014
08:40 AM

10-22-2014
08:40 AM

Re: How can I express matrix?

I am sorry but I don' understand well.

what is the examle of the results?

Is it my file in mathcad that I attached a few of days?

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

10-22-2014
08:42 AM

10-22-2014
08:42 AM

Re: How can I express matrix?

Is it an example of what you want at the end of your calculation. You do not have to calculate these, just manually type them out if you can.

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

10-22-2014
09:00 AM

10-22-2014
09:00 AM

Re: How can I express matrix?

I am sorry again. I can't understand what you mean.

But I tried to guess

My excel file is a parial work that I want to solve.

I just wonder that how I can express by using 'vector' to get result in excel.

I can do to get result value by using ' range variable'

But I can't do it by using 'vector'