Thread Subject: Solve Array of symbolic functions

Subject: Solve Array of symbolic functions

From: Quint Segers

Date: 30 Oct, 2007 15:03:13

Message: 1 of 1

if A1 is an array of symbolic funtions:
A1=
              -a1+a2-a3+a4
 -1/27*a1+1/9*a2-1/3*a3+a4
  1/27*a1+1/9*a2+1/3*a3+a4
               a1+a2+a3+a4

Why can't I use solve like:

[a1, a2, a3, a4] = solve('A1(1)=1', 'A1(2)=0', 'A1(3)
=0', 'A1(4)=0', a1, a2, a3, a4);

But must I manually insert all the values of A1 like this?:

[a1, a2, a3, a4] = solve('-a1+a2-a3+a4=1', '-1/27*a1+1/9*a2-
1/3*a3+a4=0', '1/27*a1+1/9*a2+1/3*a3+a4=0', 'a1+a2+a3+a4=0',
 a1, a2, a3, a4)[a1, a2, a3, a4] = solve('-a1+a2-
a3+a4=1', '-1/27*a1+1/9*a2-
1/3*a3+a4=0', '1/27*a1+1/9*a2+1/3*a3+a4=0', 'a1+a2+a3+a4=0',
 a1, a2, a3, a4)

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
solve symbolic ... Quint Segers 30 Oct, 2007 11:05:23
rssFeed for this Thread

Contact us at files@mathworks.com