 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] Re: Range Variable Problem
| [mathcad] Re: Range Variable Problem |
|
Author: Allen, Jonathon
Posted: Tue, 21 Mar 2006 09:58:52 -0000
|
Hi Bill,
A couple of points:
1) Generally, you need to make vx a vector of values rather than a range
variable i.e. declare vx[k-r:=k rather than vx:=k
2) You can't do polynomial regression on complex variables in this way.
If you think about it, what you are trying to achieve is a polynomial
relationship between a single-valued independent variable vx and a
multi-valued (both real and imaginary parts can vary) dependent variable
vy. Unless there is a pre-determined relationship between the real and
imaginary parts, there are an infinite number of solutions. In any case,
Mathcad's regression functions only accept real arguments.
If, as might be implied by the "magp" variable name in your sheet, you
are attempting to obtain a polynomial fit between the magnitude of the
complex number vy and the variable vx, this can be achieved but
obviously you'll need to create a new vector of magnitudes first and
then apply the regression process using this new vector.
Hope this helps,
Regards,
Jonathon
From: Bill E Dumke "mailto:Bill.Dumke"
Sent: 20 March 2006 15:54
To: Mathcad Discussion List
Subject: [mathcad] Re: Range Variable Problem
Thanks, Colin for the reply.
Now how do I get a polynomial regression to work with the new restricted
range vectors?
See attached.
Bill
For further information on Renault F1 visit our web site at www.renaultf1.com.
WARNING: please ensure that you have adequate virus protection in place before you open or detach any documents attached to this email.
This e-mail may constitute privileged information. If you are not the intended recipient, you have received this confidential email and any attachments transmitted with it in error and you must not disclose, copy, circulate or in any other way use or rely on this information.
E-mails to and from the Renault F1 Team are monitored for operational reasons and in accordance with lawful business practices.
The contents of this email are those of the individual and do not necessarily represent the views of the company.
Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us.
If you have received this email in error please forward to: "is.helpdesk" quoting the sender, then delete the message and any attached documents
|
[View Complete Thread]
Previous by date: [mathcad] Re: Range Variable Problem, Oakley, Philip SELEX UK
Next by date: [mathcad] Re: Range Variable Problem, Oakley, Philip SELEX UK
Previous thread: [mathcad] Range Variable Problem (Here is the attachment), Bill Dumke
Next thread: [mathcad] Re: Range Variable Problem, Colin G Clarke
|
|
|