## 71 Reputation

10 years, 47 days

## M=100;   for j from 1 to 15 do...

M=100;   for j from 1 to 15 do (i-j) mod M end do; gives 0,99,98,....86.

this for i=1,   I want this statment for all i=2,3,...100.

## M=100;   for j from 1 to 15 do...

M=100;   for j from 1 to 15 do (i-j) mod M end do; gives 0,99,98,....86.

this for i=1,   I want this statment for all i=2,3,...100.

yes of course I'm a new student in maple,
I was using Mathcad. before I use maple
and when we compare between your registration in mapleprimes and my registration in mapleprimes it is 585:49
thanks.
Dr Amr

yes of course I'm a new student in maple,
I was using Mathcad. before I use maple
and when we compare between your registration in mapleprimes and my registration in mapleprimes it is 585:49
thanks.
Dr Amr

## Thanks for all answers, there is some ex...

Thanks for all answers, there is some explanation

Let M =100,   j=1,2,…15    and  i=1,2,….M,

If  k=i+j     then I want k run from 2 to M and once k takes 101 the value of k must be returned to 1 and when k=102  its value must be 2,   and so on……

Also,

Let l=i-j    if i>j   no problem

When    i=j  then  l=0  it returned to l=M

When    j>i  then  l =-1   I want be 99

L=-2    I want be 98

L=-3    I want be 97

.

.

.

And so on.

Amr

## It works but...

Yes it works  but i want to fill the remaining places in matrix with zeros.

Amr

## colon (:) is written in maple...

colon (:) is written in maple and  the problem is still found

## colon (:) is written in maple...

colon (:) is written in maple and  the problem is still found

## Digits 50...

If i want to make digits=50   is it possible.

Amr

## Pagan...

thanks, pagan the method is good (LeastSquares), but my method gave the same results, Now i want to plot the 4 vectors i got from the order piece[i];

Amr

## Pagan...

thanks, pagan the method is good (LeastSquares), but my method gave the same results, Now i want to plot the 4 vectors i got from the order piece[i];

Amr

## Comment...

I'm sorry  b of dimension 607x1.

the system of linear equations coming from solving a moudle in elasticity and this moudle used before for solving extra problems so   A must be invertable.

## Comment...

I'm sorry  b of dimension 607x1.

the system of linear equations coming from solving a moudle in elasticity and this moudle used before for solving extra problems so   A must be invertable.

## Details for Maple...

Could you give some details?

Which mode? (worksheet/document)

Any prompted messages?

i use worksheet

## Dear Duncan...

I wrote your program in Maple 11

but the following equation does not work

plot(x, y, scaling=constrained);

Amr

 1 2 3 4 5 6 Page 5 of 6
﻿