Replacing symbols with vectors

  • Follow


Basically, I have

>> syms x
>> syms y
..
..
..
..
>> A=(some expression involving x and y)

I'd like to replace x and y in A with some vectors xv and yv. Is there any way to do this without just manually editing A?

Thanks.
0
Reply John 12/26/2009 5:13:04 PM

"John " <elias0789@gmail.com> wrote in message 
news:hh5g70$5c6$1@fred.mathworks.com...
> Basically, I have
>
>>> syms x
>>> syms y
> .
> .
> .
> .
>>> A=(some expression involving x and y)
>
> I'd like to replace x and y in A with some vectors xv and yv. Is there any 
> way to do this without just manually editing A?

HELP SUBS.

-- 
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ 


0
Reply Steven 1/1/2010 3:04:36 AM


1 Replies
241 Views

(page loaded in 0.023 seconds)

Similiar Articles:






7/25/2012 9:37:39 PM


Reply: