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

symbolic evaluation

Hello, please see attached sheet. i  have a bunch of questions. they are in red txt.  in some  i am trying to find the reson for getting the error, and others if there is a better way to do things....

View Article


Image may be NSFW.
Clik here to view.

Maximum value for each m,n across X arrays/matrices

Hi all, I am working on expanding the functionality of an old program to be able to perform an vector of cases for an already established vector.  I have worked out all of the issues within the program...

View Article


rnd (-1,+1)?

Hello,How can I use "rnd" function to generate random numbers between [-1,1] rather than [0,1] ? Thank you.

View Article

summation program

Could anyone help me with writing a program to generalize the attached calculation?

View Article

Image may be NSFW.
Clik here to view.

Programming using tables

Greetings to all. I have a table (Table 1) with a large number of components (A1, A2, etc.) which in turn contains another large number of elements (E1, E2, E3, etc.), whose values ​​necessary to...

View Article


sort matrix

Hello, For a given matrix, I want to sort the first column in descending order WITH the corresponded component on the second column. I can't use the "sort" function since it changes the order of one...

View Article

Linq - useful functions for working with sets.

Language-Integrated Query (Linq)

View Article

Controls and Mathcad Prime 3

I'm just getting back into Mathcad with Prime 3 after being aout of it for several years.  I'm seeing that in versions 14 & 15 that there was the option to use controls such as radio buttons and...

View Article


GetValue() output

Hi,   in MathCad i have defined variable as wllston = 17.32 lbf when i read its value in API i am getting this value : "77.0462622041584"is there any way so i will have same value as in MathCad. Set...

View Article


Preserve the state of a checkbox

Anyone has a script to preserve the state of a checkbox when it is closed then reopened?I've seen a script for a listbox here: http://communities.ptc.com/docs/DOC-1379 but no checkbox. Thanks

View Article

Image may be NSFW.
Clik here to view.

Saving Mathcadsheet as Webpage error:

Hi, I am using Mathcad 15. My worksheet consists of calculations as well as graphs. When I try to save the worksheet in .HTML format (Save as Webpage) mathcad gives the following error: "Worksheet not...

View Article

How to stack all columns of a large matrix?

I want to stack all 100 columns of a 1000 x 100 matrix to form a vector with 100,000 elements.

View Article

Image may be NSFW.
Clik here to view.

Substitute in a programm...

Hijust looked over some old custom functions from Tom Gutman.He sometimes uses substitute in his functions, but I cannot fiugure out how he types it IN the programm.looks something like: if I try to...

View Article


Multiple roots find

Hello all,I was wondering if there is or someone knows a method/function to implement Mathcad to find ALL the roots of a function in a given interval.Regards,Camps

View Article

random selection

Hello,How can I randomly select an element of a matrix ?

View Article


"This value must be a scalar"

Hi all, How can change this figur to be a scalar

View Article

Simple mathcad problem

Hi all, This should be a simple problem to solve for anyone with experience with Mathcad, I wish I had the patience to figure it out for myself, but I don't. I have an asset list made up of thousands...

View Article


on error- continue the calculation

Hello All, I am running my program for a few thousand cases. Unfortunately when one case has error, the program stops on that case. How can I address the program to jump over the erroneous cases and...

View Article

Can't save dependent Listbox

When I close the worksheet I can not save a listbox selection that is dependent on a previous listbox selection.   The first listbox I was able to save the selection using the Metadata , but I could...

View Article

Performance when optimizing program blocks

I noticed wildly changing performance after changing the settings (context sensitive setting) for internal optimization of the program. Not always in the desired direction.Any clues about the right...

View Article
Browsing all 680 articles
Browse latest View live


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