105 Reputation

12 years, 91 days

How to get answer from fsolve...

Hello, I am trying to solve 2 equations, and write the solution in a matrix form. How do I do it? This is what i did:

knn:=Matrix(10,1):

for m from 1 to 10 do
P:=fsolve({y=1/kn,y=-tan(kn)},{kn=(m-1)*Pi..m*Pi,y=0..5});
knn[m,1]:=P[1];
end do:

knn[3,1];

How to I get knn[3,1]=9.317...? without the "kn="

I would like to have a matrix of 10x1 with just the values of kn. Thank you.

How do I solve Polynomial Eigenvalue Pro...

Hello, I have a quadratic eigenvalue problem. I used to solve it using "polyeig" function in matlab. May I know if there is such a function in maple too? I cant seem to find it.Thanks.

how to multiply array in matrix (.* as i...

Maple
Hi, I have two 3x3 matrix as below. A:= [3  3  5]      [8  7  1]      [5  9  6]B:= [1  3  5]      [2  9  1]      [7  9  3] May I know what is the symbol or command to multiply the array? So that I will get CC:= [3x1  3x3  5x5]      [8x2  7x9  1x1...

How to use [FromMFile]...

Hi, I'm starting my program using Maple, then will bring some data to calculate in matlab, later on bring the data back to be calculated in Maple.

My equations have lots of trigonometry multiplication of matrix. When I run it in matlab, it runs fine. But when I try to use Matlab[FromMFile]("test.m",'evaluate') it gives me this statement:

"Error, (in Matlab:-FromMFile) unable to strore '(3.500000000*I)*2^(1/2)' when datatype=float(8)"