Skip to main content
11-Garnet
June 13, 2017
Solved

Multiple Array results

  • June 13, 2017
  • 4 replies
  • 6069 views

HI,

Please help. What is wrong with this.  I am expecting to have a multiple array in the result .

Best answer by -MFra-

Do you like the following solution?

lexdante.jpg

4 replies

1-Visitor
June 13, 2017

Hi Lex,

your Array dimensions don't match.

It should be like that:

Volker

ldante11-GarnetAuthor
11-Garnet
June 13, 2017

Dear Volker

Not like this  I expecting  3 horizontal array and 5 vertical array . I need and result  like this.

How I will get this in programming ?

1-Visitor
June 13, 2017

Ah! Ok.

can you attach the file please? (use advanced editor on the right top of the editor)

21-Topaz II
June 13, 2017

Hi,

In matrix algebra (which is a noncommutative algebra), division is not defined. The division becomes the product between one of the two matrices and the inverse of the second one.

cazzata.jpg

ldante11-GarnetAuthor
11-Garnet
June 13, 2017

Can you please send me the file. Its raise to the -1 ?

21-Topaz II
June 13, 2017

endeed, You should illustrate what you want more clearly. Given the above, you can create a program that does all the desired operations between the elements of the two vectors.

23-Emerald I
June 13, 2017

You can do it without programming:

ldante11-GarnetAuthor
11-Garnet
June 14, 2017

Hi Fred,

How about this case ? What did I miss here ? Thank you in your  support.

24-Ruby III
June 14, 2017

Hi,

your M is matrix !!!

MH

25-Diamond I
June 13, 2017

Here is yet another method to achieve the same effect.

Prime seems to have an erroneous  rounding method! The value at the upper left, 0.148 / 1.6 is exactly 0,0925, so rounded to 2 decimals it should read 0,092 as is the case in Mathcad 15 and below and NOT 0,093 as Prime is showing.

23-Emerald I
June 13, 2017

Hmmm!  I always thought that 5's always went up, so 0.0925 would go to 0.093.

A short search reveals:

According to that rule 0.0925 should round to the nearest "even" number, 0.092.

Prime isn't consistent:

25-Diamond I
June 13, 2017

> Hmmm!  I always thought that 5's always went up, so 0.0925 would go to 0.093.

And you are perfectly right! I don't know where I had my mind when I wrote that it should be 0.092 (sure had not the IEEE rules in mind) !

I don't think that Mathcad 15 sticks to the rounding rules you are pointing to - it goes up at 5

The reason for rounding down is simple rounding and conversion (dec to binary and back) errors.

and at 4 its rounded down.

Its interesting that Primes numerics seem to be different and less erroneous than Mathcads in this case.

The inconsistency you noticed may stem from the way the symbolic "float" works. Its not just rounding the end result - it just uses less digits for the whole calculation. But I am not sure where an how the significant digits are cut off. Sure not from the very beginning as otherwise we should see the result as 0.15/1.6=0,094