From: André Santos on
Hi!

I'm using the following commands to get the simbolic expressions of A1, A1I, A2 and A2I:

a=1
eq1='(A1+A1I*i)-(A1-A1I*i)+(A2+A2I*i)-(A2-A2I*i)-Ty(a)/(2*Pi()*i)';

eq2='Srot(1)*(A1+A1I*i)-conj(Srot(1))*(A1-A1I*i)+Srot(2)*(A2+A2I*i)-conj(Srot(2))*(A2-A2I*i)+Tx(a)/(2*Pi()*i)';

eq3='(Srot(1)^2)*(A1+A1I*i)-(conj(Srot(1))^2)*(A1-A1I*i)+(Srot(2)^2)*(A2+A2I*i)-(conj(Srot(2))^2)*(A2-A2I*i)+(InvA(1,2)*Ty(a))/(2*Pi()*i*InvA(1,1))+(InvA(1,3)*Tx(a))/(2*Pi()*i*InvA(1,1))';

eq4='(A1+A1I*i)/Srot(1)-(A1-A1I*i)/conj(Srot(1))+(A2+A2I*i)/Srot(2)-(A2-A2I*i)/conj(Srot(2))-(InvA(1,2)*Tx(a))/(2*Pi()*i*InvA(2,2))-(InvA(2,3)*Ty(a))/(2*Pi()*i*InvA(2,2))';
EQA= solve(eq1,eq2,eq3,eq4);

I get the following error:
Warning: Warning, solutions may have been lost
Warning: Explicit solution could not be found.

Tx and Ty are arrays that were already calculated and have the size size Tx(17) and Ty(17). If I put in the above equations for example Tx(1) and Ty(1) instead of Tx(a) and Ty(a) I get the solution I want. Since I want to loop variable a I'm stuck! Any thoughts on how can I solve this problem?

Thank you for your time and attention!
From: Walter Roberson on
André Santos wrote:
> I'm using the following commands to get the simbolic expressions of A1,
> A1I, A2 and A2I:
>
> a=1
> eq1='(A1+A1I*i)-(A1-A1I*i)+(A2+A2I*i)-(A2-A2I*i)-Ty(a)/(2*Pi()*i)';
>
> eq2='Srot(1)*(A1+A1I*i)-conj(Srot(1))*(A1-A1I*i)+Srot(2)*(A2+A2I*i)-conj(Srot(2))*(A2-A2I*i)+Tx(a)/(2*Pi()*i)';
>
>
> eq3='(Srot(1)^2)*(A1+A1I*i)-(conj(Srot(1))^2)*(A1-A1I*i)+(Srot(2)^2)*(A2+A2I*i)-(conj(Srot(2))^2)*(A2-A2I*i)+(InvA(1,2)*Ty(a))/(2*Pi()*i*InvA(1,1))+(InvA(1,3)*Tx(a))/(2*Pi()*i*InvA(1,1))';
>
>
> eq4='(A1+A1I*i)/Srot(1)-(A1-A1I*i)/conj(Srot(1))+(A2+A2I*i)/Srot(2)-(A2-A2I*i)/conj(Srot(2))-(InvA(1,2)*Tx(a))/(2*Pi()*i*InvA(2,2))-(InvA(2,3)*Ty(a))/(2*Pi()*i*InvA(2,2))';
>
> EQA= solve(eq1,eq2,eq3,eq4);

> I get the following error:
> Warning: Warning, solutions may have been lost
> Warning: Explicit solution could not be found.

> Tx and Ty are arrays that were already calculated and have the size size
> Tx(17) and Ty(17). If I put in the above equations for example Tx(1) and
> Ty(1) instead of Tx(a) and Ty(a) I get the solution I want. Since I want
> to loop variable a I'm stuck! Any thoughts on how can I solve this problem?

When you pass a string as a parameter to solve() rather than using a symbolic
expression, then the string is interpreted at the level of the symbolic engine
rather than as a symbolic expression intended to references variables in the
current workspace. In particular, the symbolic engine uses [] for subscripts
rather than (), and considers () as indicating a function call. Thus, solve()
would consider your eq2 as starting with a call to the unknown function Srot,
with the parameter 1, rather than as indicating that you want to reference the
Srot vector at location 1.

Also note that at the symbolic engine level, the constant Pi is known as Pi
and not as Pi(), and that the imaginary constant is I rather than i .

Version of eq1 altered according to symbolic engine syntax:

eq1='(A1+A1I*I)-(A1-A1I*I)+(A2+A2I*I)-(A2-A2I*I)-Ty[a]/(2*Pi*I)';

And to confirm, your references to (say) InvA(1,2) would be replaced with
InvA[1,2]
From: André Santos on
I haven't found that info in the solve help file! Thank you so much for the valuable tips. Despite my lack of experience, let me know if i can be of any help!

Best Regards,

André Santos
From: JHONMcil on
Golf is a combination of a mental and a physical game. Introduction at [url=http://www.golfsetbase.com/blog/the-compare-between-golfwholesale18-and-golfsetbase/]www.golfwholesale18.com reviews[/url] On the mental side, Golf is a game that poses problems that require a lot of creative problem solving. On the physical side, Golf is a sport requiring good eye-hand coordination, technique and endurance. Golf involves a lot of walking; unless you intend to ride on a Golf cart every time. People have different Reasons for Playing Golf. Some Play Golf for health Reasons, some play Golf for fun, another Reason to Play Golf is to be a Professional Golfer and earn money.
Here are some common driving factors that drives people to Play Golf [url=http://www.golfsetbase.com/blog/the-compare-between-golfwholesale18-and-golfsetbase/]golfwholesale18 reviews[/url] tell us
Golf is an intriguing and relaxing game. Many people play Golf in the weekend to unwind from the stress of their weekday job. Golf combines a competitive game with Fitness Exercise and a touch of the outdoors.
The Golf Course is a place for finding business partners and making business deals. A study made by the National Golf Foundation stated that more than ten percent of new Golfers get into the game for business reasons. [url=http://www.golfsetbase.com/blog/the-compare-between-golfwholesale18-and-golfsetbase/]golfwholesale18.com reviews[/url] The Golf Course is, for many people, a trade floor or a great way to meet new possible business contacts as they socialize with fellow Golfers or spectators.
Golf is also a good form of exercise since it requires a lot of walking - provided you don't ride the Golf cart all the time. Walking through the Golf Course helps you release stress and clear your head.
Playing Golf challenges both mind and body. The Golf Hazards you encounter throughout the Golf Course require creative solutions and technical skills to perform the found solution. [url=http://www.golfsetbase.com/blog/the-compare-between-golfwholesale18-and-golfsetbase/]golfwholesale18[/url] ishiner
Golf can be played by anyone. It is not a very strenuous and physical game. People, young and old, can play Golf because there is a very low risk for Golf Related Injuries and Accidents. [url=http://www.golfsetbase.com/blog/the-compare-between-golfwholesale18-and-golfsetbase/]golfwholesale18.com[/url]
Another driving factor on Playing Golf is the money. Tiger Woods set a record on the PGA career money list with $39,777,265 winnings through 2003. He had also won $48,613,450 worldwide. Who knows perhaps this website can help you become a professional golfer!
From: JHONMcil on
Gifts for the golf beginner
There is nothing that the beginning golfer can benefit from more. The single best choice out of all [url=http://www.golfwholesaleseller.com/]wholesale golf clubs[/url] gifts for the golf beginner is golf lessons(ishiner). Even the best of golfers could use a tip or two at times to improve their game. Tiger Woods did not learn golf overnight. Tiger, probably the best golfer in the world, still takes lessons.