## 240 Reputation

7 years, 240 days

## Whats the best way and easiest way to tr...

Maple

I have two big symbolic and numerical matrices in a worksheet, whats the best way and easiest way to transfer them to another maple worksheet?

## How to choose specific elements of a vec...

I have a big vector composed of different real values elements. I want to extract the value of elements that are between specified interval (x1<val<x2) and their corresponding element numbers. How is it possible in Maple in simplest way?

For example suppose R:=[ 4,-1,9,11,-4,2,4,1,-1,2.2,112,44,-134,0.124,34,41,7,97,13.22123]:

I want the elements that their values are in the interval of -2<val<3 and their corresponding element numbers.

Namely: vals:=[-1,2,1,-1,2.2,0.124] and their corresponding numbers: Numbs:=[2,6,8,9,10,14]

## Difference between two form of eigenvalu...

I have two square matrices (LS,RS) in the form of generalized eigen-value problem as below:

LS*z=omega*RS*z

One time, I am using inverse of RS multiplying by LS to get the eigen values as
MS := MatrixInverse(RS) . LS:
VL1, VR1 := Eigenvectors(MS):

Next time, I am using direct method as below to get the eigen values

VL2, VR2 := Eigenvectors(LS, RS);

I am wondering there are meaningful differences between VL1 and VL2 as well as VR1 and VR2.

Does anybody know why?

RS.mw

LS.mw

## How to extract only positive elements of...

I have a big vector (1*10000) composed of negative, positive and HFloat(infinity) elements. How to extract only positive elements of this messy big vector with corresponding number of element,except positive infinities?

For example, suppose only the 111,181, 206th elemenst of this vector are positive values as: 101.2109e11,19211.129,87211.

How to get both 111,181, 206 and their corresponding values, 101.2109e11,19211.129,87211?

## dummy index summation in maple?...

Maple 2016

I did dummy indices implication using add command as below. is it OK or there are mistakes?

Is there another way to imply dummy index summation in maple instead of using add command?

any suggestion???

 >
 >
 >
 >

 >
 >
 >
 >
 >
 >
 >
 >
 >
 (1.1)