Quantcast
Channel: PTC Community : All Content - Programming & Extending Mathcad
Browsing all 680 articles
Browse latest View live

Need help creating function file

I have created a MathCAD sheet that performs linear regression. I would like to have a function file or something similar that performs this process but with different inputs. This way I can just stick...

View Article


Need help turning a range into a matrix

I have a range, but I need to turn it into a vector in order to be able to work with is. Can this be done?  I have attached a sheet with an example.

View Article


Adding a Button (for Ctrl + F9)

Hello!! Add buttonWhat is the Code equivalent for Cltr+F9  to be placed in my “Sub PushBtnEvent_Start()” procedure, see below:  Dim state Sub PushBtnEvent_Start()  Rem TODO: Add your code hereEnd Sub...

View Article

Create a function that add each line of a matrix to each line of another matrix

Hi all, Can anyone help me on this please? I would like to create a function that add each line of a 12x6 matrix to each line of another 12x6 matrix and return a 144x6 matrix. ThanksAhmed

View Article

CLR detected invalid program error MathCAD 14

Hi there, I want to run the sheet in attachment in MathCAD 14 (14.0.0.163 [build 701291152]) but get the error:"CLR detected invalid program" The file runs perfectly in MathCAD 13 Does any of you ave a...

View Article


Ansys and Mathcad

Does anyone have some direct experience of getting Mathcad running under Ansys workbench as per the plugin that was made last year? I am really struggling to get Mathcad to open under workbench on our...

View Article

Accessing one mathcad script from another

Hi, I need your help in solving the following problem -   Say, i have a main program worksheet ( Say A.xmcd ) where i have my inputs . Now my function ( set of calculations) is in another sheet ( Say...

View Article

Linking MathCAD sheets

Is there an easy way to link mathcad sheets? For example.. putting the inputs in a sheet and then having another sheet that does all the calculations with the inputs from the previous sheet. Thanks

View Article


finding the maximum

Could some one point out where im going wrong in finding the maximum of my function. I thought it should be trivial. I want to create a generic way to pass any function. Please see attached. ThanksJason

View Article


How to define variables in Mathcad using API via Excel 2010

Hi All, I was hoping someone might be able to help. I'm using Mathcad 14 to perform calculation cases. I could easily have 50 sets of case in either Excel or Matlab and need to generate 50...

View Article

Image may be NSFW.
Clik here to view.

Can the function name be defined as kind of variable?

I am coding a formula in the form of a summation over a series of function V, something like:Here, the subscript n is a variable which means the function V varies as subscript n increases. Vn is known...

View Article

Image may be NSFW.
Clik here to view.

Recursive symbolic function derivation

Hi, I met a problem when deriving a recursive symbolic function by MATHCAD, the orginal functions read:What I want is to derive the following recursive functions:As function gn(t) will be becoming very...

View Article

stupid mistakes whith Huge numbers

See proof please:http://img42.imageshack.us/img42/1897/e9kg.png As you can see , Graph must be as y=0 (after cancellation). But I've got 2 different graphs and both of them are not a line y=0. Why???

View Article


cant install

I have downloaded the student version but i can not instaal it on my computer because he says is it either a 32 or 64 bit computer. Do i need an other file. THank you

View Article

cant install

Hello I have bought the student version but i cant install it on my laptop. It says do you have 32 or 64 bit computer. Do i need another file.

View Article


graphic display problem

We have recently upgrade to creo parametric (MO70). Buti am facing lot of display problem like i can't open big assemblies, i can't move the assembly,and it will take timefor any component to get...

View Article

Mathcad API and functions y(x)

Hello, I´m having troubles using the MathCAD API to evaluate functions in a worksheet. Maybe someone here can help me?  I´d like to geht the following to work:In my MathCAD Worksheet I got: y(x):= 2x...

View Article


Example of linking MathCAD and SmartSketch

Here is a word document illustrating linking MathCAD and SmartSketch.Al Boehnleinaboehnlein@yahoo.com

View Article

get a matrix of matrices from a while loop

PLease see attached file. I am dealing with percoaltion theory for disease spread. My programme currently randomly immusies a percentage of the population and then infects one of them and the final...

View Article

How to save string variables to text or CSV files without quotation marks in...

Does anyone know how to export string variables to text or CSV files withour quoation marks "" in MathCad Prime? This used to be easy in MathCad 15 using the Insert\Data\File Ouput. Thanks, colin

View Article
Browsing all 680 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>