Items tagged with matlab matlab Tagged Items Feed

Hi

How can i convert maple file to matlab ?

Hi,

Question 1:
In matlab, i write "Ck=zeros(18,18,6)" which will give me the answer Ck(:,:,1), Ck(:,:,2), Ck(:,:,3)... Ck(:,:,6).
I tried writing Ck:=ZeroMatrix(18,18,6) but it doesn't work. May I know what is the right way to write it please?

Question 2:
Relating to the above question, I now have several Ck matrix, Ck1, Ck2, Ck3... Ck6. and also several P matrix, P1,P2,P3...P6. Each Ck and P matrix are 9x9matrices. How can I write A:=Ck*P to give...

diff(Vector_data)?

April 30 2012 by herclau 928 Maple

How implementing in Maple this MATLAB's sequence?

timing_data = 0:0.01:5;
X = timing_data; %(s)
delta_t = mean(diff(X))

delta_t =

    0.0100

Gracias

I've written some Matlab codes as mfiles; now how could I import them into Maple? (I didn't understand what Maple help says!)

 

 

 

 

 

 

 

 

Matlab to Maple help required

March 27 2012 by AliKhan 5 Maple 14

Dear All,

 

How can I define the following commands of MATLAB in MAPLE,

 

MATLAB:

zimag=j*[0:thetas/N:thetas];

zreal(1:length(zimag))=log(R);

z=zreal+zimag

 

Also

MATLAB

For i=1:length(z)

 

Your help will be really appreciated.

 

Best Regards

A.Q

SOTON

Dear All,

 

Can someone help me,  to write following matlab code in MAPLE  (only two highlighted lines).   I shall be very thankful to you.

 

w0=[0.01*aCM];                          %initial values
 
options=optimset('Display','off','TolFun',1e-24,'TolX',1e-18,'LargeScale','on','MaxFunEvals',5000); % Option to display output

for i=1:length(z) 

I'm using Maple to simulate particle collision and interaction (absorption and scattering) and keep tracking its energy until each particle either get absorbed or leaked (Energy less than predefined minimum energy). I also use Maple statistical pacakge. I also need to call MATLAB link to generate histogram in a logarithmically spaced bin, a feature that I could not find anywhere in Maple and I think it is one of the reasons for calculation performance issue.

The problem...

Hi, I am trying to have a sequence of (0,Pi/32,2Pi/32,3Pi/32...Pi)

Here is what I did : theta:=[seq((Pi/33).n,n=0..32]:

Question 1 : Is this the same as doing 0:Pi/32:Pi in matlab?

Question 2 : how do i select the output? for example output 5 which is 4Pi/32.

Question 3 : how do I multiply it with another sequence of (0,2,4,6,.......64)? for example to get a new set of numbers (0,2Pi/32,8Pi/32.....)

Please help. Thanks.

hi

in matlab POLYNOMIAL EIGENVALUE PROBLEM solve whit polyeig code 

why maple can't solve  ?!?

import maple code in matlab

January 28 2012 by yasin67 0 Maple

Hi!

how I import maple code in matalb for matlab simulink?

 

I'm thinking about getting a new laptop (since the current one is kind of outdated). I use a lot of Matlab, Maple and Mathematica and will be doing come cfd computations. I found two laptops which, for the same price, only differ in processor and screen size. One features a i7-2620M and has a 13' screen and the other a i7-2670QM with a 15' screen. What I need to know is if the difference between processors is significant enough for me to turn a blind eye on portability ...

hello, I am trying to call a matlab function from maple and get error msg.

I did instruction about set up matlab but it doesn't work.

I would highly appreciate if someone could help me out with this. Thanks Sina

Hi everyone,

I am importing an .m file from MATLAB to Maple using the command: FromMFile(). The .m file uses a set of huge symbolic matrices with an output of a huge symbolic vector of 36 by 1. Each element of this vecot is supposed to form a second-order differential /or algebraic equation that I am planning to solve using the Maple DAE toolbox.

The problem I have is that while I execute the worksheet, Maple only evaluates the...

I Follow the instructions to connect with matlab but when i type for example ( Matlab[setvar]("x",3.14);) it doesn't work.

i don't know why? my windows is 7 .

Hi everybody, I have a rather large code in Maple for my research which needs fast eigensolving for large sparse matrices, thus, I am using the Matlab link to parse my matrices and get them eigensolved in Matlab. The problem is that, I am unable to directly parse a Maple sparse matrix to a Matlab sparse matrix which substantially slows down the calculation.

This is the best I can do so far:

 

> H:=Matrix(5000,5000,shape=symmetric,storage=sparse,datatype=float[8]):
1 2 3 Page 1 of 3