Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Buy Mathcad Now
• View Mathcad Pricing
•  Download a Demo
•  Request a Brochure
• Download a Brochure
• Find out about Training
• Meet Our Team
• Read our RSS Feeds

Learn More

Mathcad Home
Mathcad Prime 2.0
Migration Guide

Version Comparison Chart
Mathcad Enterprise
Mathcad for Education
Rave Reviews
Add-ons

System Requirements

Latest Information

New Features in Mathcad
Prime 2.0

Mathcad Prime 2.0 movies
Using Mathcad and Excel
Return on Investment

Service & Support

Frequently Asked
Questions

Search the Knowledge
Base

Join the Discussion List
Search the List Archive

List Archives >  Mathcad List Archive >  Archive by date >  This Month By Date >  This Month By Topic

RE: [mathcad] resizing a matrix/vector

Search email archive for  

RE: [mathcad] resizing a matrix/vector
Author: Tom Boni    Posted: Mon, 8 Sep 2008 15:21:18 -0700 (
Philip,

I think I understand your point.

Isn't this why one needs to be sure that they haven't accidentally redefined their "variables" during the course of a calculation (?)

Although, couldn't one argue that the x in F(x) is a "true" variable?

Thanks again...

--- On Sat, 9/6/08, Philip Oakley wrote:

> From: Philip Oakley /> > Subject: RE: [mathcad] resizing a matrix/vector
> To: /> > Date: Saturday, September 6, 2008, 3:36 PM
> Tom,
>
> The hidden feature of MathCAD is that in reality it
> doesn't have any
> variables. It has named constants that exist for a part of
> a page between
> the point it is defined and the point that another of the
> same name is
> defined.
>
> The only 'unless' is that within a programme (with
> the black bar and the
> left pointing arrows) those variables are true variables
> that can be
> overwritten and are thrown away at the end of the
> execution.
>
> So if you define
> v:=stack(1,2,3,4,5,6,7,8,9)
> then
> v:submatrix(v,2,7,0,0)
>
> you now have two variables 'v' (both vectors) on
> the page and if you type
> "v=" and then drag it around, you will see the
> two results depending on
> where the "v=" is on the page.
>
> Also, if you have a set of indices 'index' to be
> used to pull out and
> re-order it you can use. you can even convert it to a
> little programme if
> needed.
>
> i:=0;..last(index)
> v[i]:=v[(index[i])]
> will also do it (I have closed the [] brackets subscripts,
> shown :=, and the
> range ;..
>
> Hope that helps.
> Philip
>
> -----Original Message-----
> From: Tom Boni /> > Sent: 05 September 2008 8:11 PM
> To: /> > Subject: [mathcad] resizing a matrix/vector
>
>
> What options are there for resizing a matrix/vector?
>
> For instance lets say I have a 1 x 9 vector and want to
> make it 1 x 6 or 1 x
> 12?
>
> Right now, I just create a new (empty) vector of the
> desired size...
>
> Just thought I'd ask in case there is an
> "on-the-fly" method that I am not
> aware of...
>
> In many cases the elements of the new vector are the same
> as elements in the
> existing vector...
>
>
>
>
> ---
> The Mathcad List - Discussion, Support & News
> Contributions: /> > Hosted by: Adept Scientific
> http://www.adeptscience.com
> List Archive: http://lists.adeptscience.co.uk/
> ---
> Would you like this to come to a different email address?
> ---
> Simply leave the mailing list (see below) and re-join by
> sending a blank email from the new address to:
> or
> ---
> You are currently subscribed to mathcad as:
> /> > To unsubscribe send a blank email to
> /> >
> ---
> The Mathcad List - Discussion, Support & News
> Contributions: /> > Hosted by: Adept Scientific
> http://www.adeptscience.com
> List Archive: http://lists.adeptscience.co.uk/
> ---
> Would you like this to come to a different email address?
> ---
> Simply leave the mailing list (see below) and re-join by
> sending a blank email from the new address to:
> or
> ---
> You are currently subscribed to mathcad as:
> /> > To unsubscribe send a blank email to
> />



---
The Mathcad List - Discussion, Support & News
Contributions: /> Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
You are currently subscribed to mathcad as: /> To unsubscribe send a blank email to />

[View Complete Thread]



Previous by date: Re: [mathcad] resizing a matrix/vector, Tom Boni
Next by date: [mathcad] new Design of Experiments functionality for Mathcad,  Zeftel, Mona
Previous thread: [mathcad] getting plot data, Tom Boni
Next thread: [mathcad] new Design of Experiments functionality for Mathcad,  Zeftel, Mona



Ready to buy?

Mathcad Prime
Add to shopping basket
£ 970.00
Upgrade to Mathcad Prime from v14
Add to shopping basket
£ 220.00
Upgrade to Mathcad Prime from v11, v12, v13
Add to shopping basket
£ 290.00

Featured Downloads

Mathcad Prime 2.0 Brochure
Mathcad Prime 2.0 Installation and Usage Information
Mathcad Prime 2.0 Installation and Administration Guide
Mathcad Prime 2.0 Keyboard Shortcuts
Mathcad Prime 2.0 Migration Guide
Mathcad Prime 2.0 FAQs

Latest Downloads

Mathcad Prime 2.0 - 64 Bit Demo
Mathcad Prime 2.0 - 32 Bit Demo
Mathcad Prime 2.0 Installation and Usage Information
Mathcad Version Comparison Chart
Application Example: Faster Physical Modelling for Mathcad users

Latest News

"I've been using Mathcad since 1995 and I really love using it because it is the most optimal engineering tool.
“Greater flexibility, ease of use, an intuitive layout,...
“Every engineer and mathematics-oriented professional should consider...
“If you are looking to save engineering hours by standardising your company reports with clearly defined calculations and professional formatting,
PTC adds powerful new capabilities to Mathcad
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2012, Adept Scientific plc.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055