manipulation of non numerical matricies
Show older comments
I am trying to calculate the answer to 4 simulataneous equations throught the use of matrices. For this I have the following arrangement:
Ax= y
A=[1 1 1 0
0 (d-f) -f 1
0 0 (1/6)*d^3 (-1/2)*d^2
0 (1/6)*(f-d)^3 (1/6)*f^3 -(1/2)*f^2]
x=[r1
r2
r3
m3]
y= [1 1 1 1
-(f-a) -(f-b) -(f-c) -(f-e)
(1/6)*(d-a)^3 (1/6)*(d-b)^3 (1/6)*(d-c)^3 0
(1/6)*(f-a)^3 (1/6)*(f-b)^3 (1/6)*(f-c)^3 (1/6)*(f-e)^3]
how do i get matlab to deal with no numeric inputs in a matrix? currently i would have to assign a value to each of the lower case constants for it to calculate.
thanks in advance.
4 Comments
Fangjun Jiang
on 14 Nov 2011
You can use {}Code format next time.
Matthew
on 14 Nov 2011
Fangjun Jiang
on 14 Nov 2011
After you post the question, you probably see the format is different. There are quite a few formatting buttons above the question box. You can edit your question too, use those formatting buttons.
Fangjun Jiang
on 14 Nov 2011
http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup
Accepted Answer
More Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!