Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: how to slove the materix form of this kind

Subject: how to slove the materix form of this kind

From: Shanmukha Moturu

Date: 22 Jun, 2008 23:43:02

Message: 1 of 3

How to get a constant character in a materix like
[q1
 q2
 q3
 q4
 q5
 q6]

and

how to solve problem like
[1 [q1
 1 q2
 1 = (toeplitz(1:2:9,[1,1:2:9]))* q3
 1 q4
 1 q5
 1] q6]

where q1 to q6 are unkown. they need to find out
we can't find inverse to (toeplitz(1:2:9,[1,1:2:9]))
because it is not square matrix.



Subject: how to slove the materix form of this kind

From: John D'Errico

Date: 23 Jun, 2008 00:11:02

Message: 2 of 3

"Shanmukha Moturu" <Shanmukharao.Moturu@liv.ac.uk> wrote in message
<g3mo26$4bc$1@fred.mathworks.com>...
> How to get a constant character in a materix like
> [q1
> q2
> q3
> q4
> q5
> q6]
>
> and
>
> how to solve problem like
> [1 [q1
> 1 q2
> 1 = (toeplitz(1:2:9,[1,1:2:9]))* q3
> 1 q4
> 1 q5
> 1] q6]
>
> where q1 to q6 are unkown. they need to find out
> we can't find inverse to (toeplitz(1:2:9,[1,1:2:9]))
> because it is not square matrix.

Huh?

If you actually seriously want help, you
should start learning Matlab. Helping
yourself is the surest way to a solution.

As much though, you need to learn to
form a cogent sentence when you do
ask a question. Your question above is
totally meaningless.

Sorry,
John

Subject: how to slove the materix form of this kind

From: Steven Lord

Date: 23 Jun, 2008 01:34:45

Message: 3 of 3


"Shanmukha Moturu" <Shanmukharao.Moturu@liv.ac.uk> wrote in message
news:g3mo26$4bc$1@fred.mathworks.com...
> How to get a constant character in a materix like
> [q1
> q2
> q3
> q4
> q5
> q6]

If you need a matrix containing symbols like this, not numbers, you will
need to use the SYM or SYMS functions from Symbolic Math Toolbox.

> and
>
> how to solve problem like
> [1 [q1
> 1 q2
> 1 = (toeplitz(1:2:9,[1,1:2:9]))* q3
> 1 q4
> 1 q5
> 1] q6]

That's A*x = b, where A is toeplitz(1:2:9, [1 1:2:9]) and b is ones(6, 1),
and you're solving for a vector of q values? Use backslash:

x = A\b

> where q1 to q6 are unkown. they need to find out
> we can't find inverse to (toeplitz(1:2:9,[1,1:2:9]))
> because it is not square matrix.

DO NOT USE INV TO SOLVE A SYSTEM OF LINEAR EQUATIONS.

--
Steve Lord
slord@mathworks.com


Tags for this Thread

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.

rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics