Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Mathimatical type..in matlab..Help...

Status
Not open for further replies.

Nikolas83

Junior Member level 2
Joined
Oct 17, 2006
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,411
Hello..guyss...
I just found the form of mathematic press and i want too pass it in matlab or(c,c++,)expression...
(x1+x2+x3..+xn)^k..
if n=2 and k=2..the type is become to..
(x1+x2)^2=x1^2+2x1x2+x2^2
but this is simple i want this identify with more terms..(more xn)and more (..^)
Thanks again..
The type is more analytically described in the zip file
 

wouldn't a normal for and array manipulation work??
int arr[40] = (......);
int k = 40;
long int temp=0;
long int ans = 0;

for( int i = 0; i<=39;i++)
temp += arr;

ans = pow(temp,k)


or do you want to code the right side of the equation :?:
 

what I search i they is after I found the mathematic expression of identity him to transport in the Matlab..
I want to creat 1 m.file that giving it the k that are the number of a
(a1+a2+..ak)^ n and giving and the n(power) from and extrac in program the anaptygma of identity..
thanks for your interest
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top