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

Using Units in a for-loop

Hey,at the moment i´m calculating the massstreams in a powerplant.For the calculation there is a for-loop necessary because one of the last streams is going back to the beginning of the calculation.My...

View Article


Re: Headers

Mathcad 3.0   I am trying to set the width of the header independent of the width of the body of the document.  Is this possible?  It appears the header size is dependent upon the margin size.  If the...

View Article


Determine the center and radius of the circle of the triangle

Hello,I a'm a student and i need help witch task Given a triangle defined by 3 points with coordinates (x1, y1) (x2, y2) (x3, y3) Determine the center and radius of the circle of the triangle. Draw a...

View Article

Graph x,y values

Hello, i am not sure why the x and y values are so large in the graph. Thanks!

View Article

control iteration

Hello All,My program, for some particular cases, spends too much time on a "genfit" function and finally stops calculation (regression doesn’t converge). Is there a way to ask the program, that if it...

View Article


surface plot

Hello, Could you please help me with the attached graph? The surface graph shows much higher values for the parameter on z-axis. Thank you.

View Article

solving equation

Hello, I tried to solve the equation in two different ways, but  i am not able to. please see attached file. Thanks!

View Article

MathCad Prime 3.0 to MathCad 15

I am sure that this question has been asked before but I have developed a program in MathCad Prime 3 that I would like to turn over to a programmer who works in MatcCad 15.  The current plan is that he...

View Article


Surface plot not plotting

Hello, Not sure why Mathcad is not doing a surface plot for this function in the attached sheet. Thanks!

View Article


DLL arguments

Hi,I would to extend MathCad by creating a DLL which will interface with netCDF/HDF files. The Mathcad document on creating DLLs seems to indicate that only COMPLEXSCALAR and COMPLEXARRAY types can be...

View Article

Display the index value

Hello, In the attached sheet, please scroll down to the red arrow. is there a way you can display the index value for "W". Thanks!

View Article

large number of inputs

Hello All, My program receives models information from an Excel file and performs the calculations and returns some results as the outputs.  when I run the program for large number of input models (300...

View Article

How to implement a solve block in a subroutine

I need to fit data to a function with 5 variables and have Mathcad 15. The parameter estimation works fine with a solve block and Minerr in a straight program. However, when a define a subroutine for...

View Article


genfit - improve the results

Hello All, I am using "genfit" routine to fit my data to a modeled signal. The modeled signal in the attached worksheet is sp(k,b) where "k" is the variable and "b" is a set of coefficients. My first...

View Article

Updating guess value in looped solve block

Hi all, I have a solve block function inside a program. The program iterates through an array, finding a solution for each element in the array. The problem is that the initial guess value does not...

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

Text size...for tolerance texts

can any one tell me how can i change the text size of the tolerance inserted for a dimension?? inserted the tolerance as superscript one....

View Article


"This value must be a vector" while programming

Hello. I tried to write implement a Gauss-Seidel Method, but got an error. I initialised all variables and wrote all the programming, which seems to be alright, but when I am trying to assign an...

View Article

Symbolic Evaluation

Hello, in the attached sheet ,please scroll down to the arrows. i have few questions regarding symbolic evaluation? Thank you!

View Article

genfit / guess values

Hello All,I would like to know more about "genfit" algorithm. My main question is: Why "genfit" routine cannot find a good fit when the guess values are not chosen properly. What is the normal behavior...

View Article
Browsing all 680 articles
Browse latest View live


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