cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I express matrix?

SOLVED

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.

1.bmp

2.bmp

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.

Re: How can I express matrix?

2.png

Is what Werner posted what you wanted?

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

collab+-+14+10+22+arrays+01.JPG

Re: How can I express matrix?

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

Stuart

collab+-+14+10+22+arrays+01.JPG

Re: How can I express matrix?

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

I attached exfiles.

Thank you very much for your effort for me

View solution in original post

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.

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?

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.

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'

Announcements