## Items tagged with transformation

This came up in another language. I tried to solve it in Maple, but I am newbie so did not know how to.

The problem is to remove all products of  "a^n*b^m" that shows up in an expression, including any powers of "n,m". For example, given these three expressions

``````f0 := a^4+4*a^3*b +6*a^2*b^2+4*a*b^3+ b^4;
f1 := 3*(a*b -2*c);
f2 := (a*b -2*c)/(c - a*b);```Then applying the transformation needed, will result inf0:= a^4+b^4;f1:=-6*c;f2:=-2;Becuase the transformation will detect any a^n*b^m and simply replace this product by zero from the resulting expression. So "a*b^2 + 2" will become "2", and so on.I assume a function such as "patmatch"  or "match" is needed. I tried, but could not figure how. I also tried algsubs. How would this be coded in Maple?```

## conformal maps for image distortion...

I am interested in using conformal maps for image distortion. How can this be made in Maple (an analogy to the ImageForwardTransformation[] in Mathematica, see http://community.wolfram.com/groups/-/m/t/854405?p_p_auth=TLh6kMXL). Thanks!

## Gialid_Plots_transformation

by: Maple MaplePrimes

> restart;
> a := -10; b := 10; ps := seq(plot([i, t, t = -20 .. 20], x = -10 .. 10, y = -20 .. 20, color = red, style = point), i = a .. b);

plots[display](ps, insequence = true); p := plots[display](ps, insequence = true);

restart:
with(plots):
y=sin(x);
p:=implicitplot(y=sin(x),x=-10..10,y=-2..2,thickness=4,color=red,scaling=constrained,numpoints=1000):
plots[display](p);

y=sin(3*x);
p0:=implicitplot(y=sin(x),x=-10..10,y=-5..5,thickness=3,color=red,scaling=constrained,numpoints=1000,linestyle=2,style=POINT,symbol=CROSS):
p1:=implicitplot(y=sin(3*x),x=-10..10,y=-5..5,thickness=4,color=blue,numpoints=10000):
plots[display](p0,p1);
y=sin(1/3*x);
p11:=implicitplot(y=sin(1/3*x),x=-10..10,y=-5..5,thickness=4,color=navy,numpoints=10000):
plots[display](p0,p11);

y=2*sin(x);
p2:=implicitplot(y=2*sin(x),x=-10..10,y=-5..5,thickness=4,color=blue,numpoints=10000):
plots[display](p0,p2);
y=1/2*sin(x);
p22:=implicitplot(y=1/2*sin(x),x=-10..10,y=-5..5,thickness=4,color=navy,numpoints=10000):
plots[display](p0,p22);

y=2+sin(x);
p3:=implicitplot(y=2+sin(x),x=-10..10,y=-5..5,thickness=4,color=blue,numpoints=10000):
plots[display](p0,p3);
y=sin(x)-2;
p33:=implicitplot(y=sin(x)-2,x=-10..10,y=-5..5,thickness=4,color=navy,numpoints=10000):
plots[display](p0,p33);

y=sin(x+2);
p4:=implicitplot(y=sin(x+2),x=-10..10,y=-5..5,thickness=4,color=blue,numpoints=10000):
plots[display](p0,p4);
y=sin(x-2);
p44:=implicitplot(y=sin(x-2),x=-10..10,y=-5..5,thickness=4,color=navy,numpoints=10000):
plots[display](p0,p44);

y=-sin(x);
p7:=implicitplot(y=-sin(x),x=-10..10,y=-5..5,thickness=4,color=blue,numpoints=10000):
plots[display](p0,p7);
y=sin(-x);
p77:=implicitplot(y=sin(-x),x=-10..10,y=-5..5,thickness=4,color=navy,numpoints=10000):
plots[display](p0,p77);

y=abs(sin(x));
p00:=implicitplot(y=sin(x),x=-10..10,y=-5..5,thickness=3,color=red,scaling=constrained,numpoints=1000,linestyle=2,style=POINT,symbol=BOX):
p5:=implicitplot(y=abs(sin(x)),x=-10..10,y=-5..5,thickness=4,color=blue,numpoints=10000):
plots[display](p00,p5);
plots[display](p5,scaling=constrained);

y=sin(abs(x));
p00:=implicitplot(y=sin(x),x=-10..10,y=-5..5,thickness=3,color=red,scaling=constrained,numpoints=1000,linestyle=2,style=POINT,symbol=BOX):
p6:=implicitplot(y=sin(abs(x)),x=-10..10,y=-5..5,thickness=4,color=navy,numpoints=10000):
plots[display](p00,p6);
plots[display](p6,scaling=constrained);

## Defining the orientation of a body thanks to matri...

Hello,

Is it possible to define the orientation of a body with a matrix transformation ?

I have seen this option for the fixed frame but not for the rigid bodies.

I would like to define the rigid bodies thanks to transformation matrix so as to make some checking.

## How to define components of the tensor...

Hello. Earlier, I asked about it, (see http://www.mapleprimes.com/questions/203573-How-To-Do-Simple-Operations-On-Tensors). However, not all I was able to understand. Below I will give a try, and maybe you'll show me where I'm wrong.

Also, I'm interested in how you can determine the components of the tensor in a different coordinate system connected with the original in any conversion. Thank for your help.

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

 (7)

 (8)

## distributive properties of sums....

How can I make transformations like:

sum(a*u[k]+b*v[k],k=1..n) into a*sum(u[k],k=1..n)+b*sum(v[k],k=1..n)

and in the opposite direction?

## Transformation with animation

by:

Transformation and
rotation.

transformation.mw

## Inverse Laplace Transformation...

Dear all,

I have a question, why is the output of the inverse Laplace transformation if the signal is multiplied by itself not just convoluted in time domain:

restart:
with(inttrans):
u0(s):=laplace(u0(t),t,s):
ul(s):=laplace(ul(t),t,s):

invlaplace(u0(s)*ul(s),s,t);
invlaplace(u0(s)*u0(s),s,t);

Thanks!

## How to plot a linear transformation ...

The problem is how to plot a linear transformation, for example,

(x,y)->(x-y/2,y)

As, I searched, I found out that the code "LinearTransformPlot" can do that but it defines to act for example on lines or a certain subspace. May I ask you to learn the solution. Should we have a subspace untill we can plot the transformation? Thanks

## Plotting graphs in maple.2...

Hi, there i want to basically plot the graph attached. It is basically the graph y= 2x^2 transformed to y = x^2. I can plot them, but how do they get the arrows showing the transformation and the arrows on the axis. Any help would be appreciated.

Thanks

## The fourier transform...

Maple gives the fourier transformation:

fourier(int(y^k*exp(-k*x*y/phi+I*y*omega), y = 0 .. infinity), omega, t) as:

2*Pi*t^k*exp(-t*k*x/phi)*piecewise(t < 0, 0, 1)+piecewise(0 < t, -2*Pi*t^k*exp(-t*k*x/phi), 0)

but it is identically 0.

if change the order of integration and integate exp(I*y*omega) first, the transform is equal to

int(Dirac(y-t)*y^k*exp(-k*x*y/phi), y = 0 .. infinity)

which is Heaviside(t)*t^k*exp(-t*k*x/phi)

## How to transform equations...

With Maple I get the following result

For easier interpretation I would prefer the following, equivalent form:

I tryed a lot,...

Hello every one,

I am using similarity transformation to transform a PDE into an ODE.

I got the ode but its in a very ambiguous (unclear) form.

I need help to have the ode in a more friendly reading format.

Thanks

pdetoodest.mw

## Change of Variable plot....

Heya,

I am trying to plot a graph in Maple on the (u,v) plane and I am struggling to work out how to do it.

Consider the change of variable

x=u^2-v^2                    y=2uv

Plot the lines in the (u,v) plane where x and y are constant.

If anybody could help  me in plotting this graph I would be very grateful.

Thanks.

 Page 1 of 1
﻿