vvostri

66 Reputation

3 Badges

16 years, 220 days

MaplePrimes Activity


These are questions asked by vvostri

Hello,

 

I have two vectors, M and N, and I need to calculate root mean square deviation (RMSD) between them, i.e. the following expression:

sqrt[((Mi  -  Ni) + (Mi+1 - Ni+1) + ... + (Mn - Nn))/n]

 

In practical terms, M is the experimental data and N is the theoretical model that depends on several parameters. In future I will be changing these parameters and will need to evaluate a large number of RMSDs.

Hello,

I have a question on the efficient usage of map command.

 

Suppose I have a function of two variables:

a:=(x,y)->sin(x)*cos(y)

 

I would like to evaluate the function using fixed values of x and y (i.e. grid search problem):

f:=x->x*Pi/180

X:=f(<seq(0..360,45)>)

Y:=f(<seq(0..360,60)>)

Hello, I am new to Maple, and I have a novice question on rounding with evalf function.

 

I have an expression:

m:=(x,y)->126*cos(a)^2*(cos(x)-sin(x)*cos(y+b+c)*tan(a))-42;

 

Then I set some parameters as constants:

g:=x->x*Pi/180;

a:=g(58); b:=g(-45); c:=g(100);

 

Page 1 of 1