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.

defining an Unknown matrix

Status
Not open for further replies.

sarah.ni68

Newbie level 2
Newbie level 2
Joined
Oct 6, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
14
i want to form an equation with unknown coefficients, like u=c1*x^1+c2*x^2+...+cn*x^n
please help
 

i want to form an equation with unknown coefficients, like u=c1*x^1+c2*x^2+...+cn*x^n

You just did.

Maybe you need to restate your question with a little more detail. Actually, with ANY detail.
 

You just did.

Maybe you need to restate your question with a little more detail. Actually, with ANY detail.

there is a differential equation that i want to solve it by using numerical method.. the differential equation is d²u/dx²-3*du/dx+2*u=0 u(0)=3, du/dx(0)=5
i want to assume an approximate response in form of u=c1*x^1+c2*x^2+...+cn*x^n+f0
f0=5*x+3 (according to the boundry conditions)
"n" is unknown, and will be inserted by user.
i think i should define a 1*n matrix of "c1" to "cn" coefficients: [c1 c2 ... cn], and a n*1 matrix of x^1...x^n: [x^1;x^2;...;x^n]
and then multiply these matrixes to create "u"
but because "n" is unknown, i can not define these matrixes!!
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top