Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
To all What is the quickest way summing all the data in matrix in mcad 15?I have a matrix of N columnsI want to sum all the number in the following colums1&23&45&6EtcThere are Nrowultimatly the number of columns will be “dynamic” but will always be a multiple of 6
Hi all,I'm still learning how to use API for Mathcad and I have a few questions about this function, SetRealValue. 1) why doesn't the code below work? I mean there are obviously no error, but it doesn't do what I want. In the selected worksheet has x:=2, I was trying to get this x:=2 to be x:=3m. This code below doesn't change anything in this sheet. Sub test01() Dim WS As Ptc_MathcadPrime_Automation.Worksheet Dim App As Ptc_MathcadPrime_Automation.Application Dim FileName Set App = New Ptc_MathcadPrime_Automation.Application FileName = Application.GetOpenFilename(MultiSelect:=False) Set WS = App.Open(FileName) Call WS.SetRealValue(x, 3, "m") End Sub 2), why are there so many functions with the same name reappear in a few different classes? are they doing the same thing? If not, what are the differences? For examples, this SetRealValue occurs in three differences classes: IMathcadPrimeWorksheet, IMathcadPrimeWorksh
Is MathCAD Prime still that bad compared to legacy MathCAD?
To all,Stupid question ...if I have a 2 columns matrix A, is there a way in mcad 15 of creating 1 column vector containing complex numbers so that z=A<0>+iA<1> ?mcad 15 doesn’t seem to like the iA<1> syntax !Do I have to create a programme to loop over all entries ! surely not ! No functin such as complex(a,b) like in excel? Thanks
Hello, Just curious if anyone has had any success deploying Mathcad Prime v6.0 using SCCM. If i install it manually from a command prompt it installs just fine. If i deploy it using SCCM, setup.exe continuously runs (Never completes) but nothing gets installed. I have checked all of the usual stuff, event logs, av logs but nothing is being reported. Thank you, Steve
Hi I am wondering, if it is somehow possible to directly change a global variable inside a program block like a call-by-reference function call. Right now this is my work around:1. The global variable is assigned to a local variable with same name.2. The local variable is changed as desired3. In the end the local variable is returned and assigned again to the global variable. However as I am working with large matrices (sometimes even matrices containing matrices) I would expect a faster running program, if I got rid of the copying forth and back.Cheers Pascal
Hi All,I have an s-curve equation that uses cosine. Any trigonometric function is allowed but I can't use exponential or logarithmic equations as they don't perform to what is required. The cosine equation works great for certain settings but for others, I need to mirror it using the existing coordinate points; I need to mirror the ess while using the same coordinate points. I've tried a few ways but I can't have the equation switching its location to a different quadrant. The attached mcad_pic1.png shows the equation, the current s-curve in red, and the needed s-curve in green. Please help me to find a variation of the current equation or a different trigonometric equation that will enable the green s-curve.Thank you. Gary
According to some web tutorials, I have tried to solve the equations system you can find in the attached figure.I want to solve the system in order to find variables x and e. All the other variables are defined (you can see defined values also for e and x, they are guess values according to tutorials). I am not able to find out what is my mistake, if I click on "sol" I see the error "This variable is undefined". You find also the Mathcad file attached. Can someone help me? SincerelyStefano Grandi
I would like to know if anybody had attampted to do the Monte Carlo simulation using Mathcad Prime? I know the capability exists in Mathcad 15 however since Prime is a different product I'm not sure if it is available.Thanks,Margaret
Can someone please convert this attached .xmcd file to .mcdx for me? I switched from Mathcad 15 to prime 3.0 but the student license we have doesn't give us the converter feature on Prime 3.0. Many thanks, Jay
Please guide to prepare the plot as per the attached files
To allI am dealing with a formula and I am hoping that the more mathematically inclined among you might be able to clarify something for me. On the attached mcad 15 file there is a formula for a mode indicator function. I am still trying to source the original reference but in the meantime I thought I ask the question.Could anyone tell me how the sum on the numerator works? Is the formula saying that one has to sum over the entire vector? Thanks in advanceRegards
Hello PTC Community, I have switched form Mathcad15 to Mathcad Prime 5.0.0 but I am unable to add subscripts in text blocks when using the Prime version. Has the feature been removed from the Mathcad Prime versions?
Dear all, I've been trying to get this solve block to work for a system of forces and moments for quite some time now but I just can't get it to work. Can somebody take a look at it to see whats wrong? Cheers
Dear All, I hope you are doing well. I am new to MathCAD and am trying to solve simultaneous equations using the least-squares method, however, every time I input the equations the variable is not recognised, even when I state the values one by one. I am attaching my work. If you help me it would be much appreciated.
I went here Code ExamplesThen HereMathcad Prime API Example: Microsoft Visual Studio C++ ATL | PTC Then I got:Is it just my PC or is the link dead?
Good morning I'm hoping that someone may be able to help me with a monte carlo simulation problem. The function I wish to use has a root within it, which gives me an error. As soon as I remove the root from the function and use the rest of the equation, as my function it works, but obviously giving incorrect results. Ive attached the baisc problem, if anyone can helpThanksRichie
Hello PTC fam, it seems the Find function doesn't work at my end. Mind to take a look? I attached my file
Hi everyone,I've been using Mathcad for a few years already. However, I just discovered its API. I did a few google searches and couldn't find a documentation for the API or any resources other than this forum. I'm just wondering if you guys can help me point to some places? (VBA/Python) Thank you very much!
I would like to use API to change/define variables values(string and fraction) that occur at the very beginning of my calculation sheet. Also, sometime I will calculate some values in the middle of my calculation sheet but might need to redefine it later in the same file.How can I do these? Could someone point me in a direction. I have just started using API for Mathcad. (VBA/Python)Thank you very much!
When I try to calculate the cross product of two three element vectors I get an error message on the first vector"This value must be a 3-element vector". I am using Mathcad Prime 8.0.0.0. I have tried the same thing on 7.0.0.0. I have changed the vector and matrix index Origin to from 0 to 1. Jack Smith, Katy TX `
Hi everyone. Do any of you experienced structural engineers use PTC MathCAD Express (free version of MathCAD) at work? If so, would you recommend it, and why or why not?I've used it before for school, but I experienced some limitations with it (for example, the # of rows permitted in a table is limited, whereas on Excel it's not). Compared to Excel, I like how the finished calculations look so clean and polished on MathCAD, as well as how the software takes care of units. However, if Excel is more versatile and better for structural engineering work than the free version of MathCAD, then I'm sticking with Excel. Thank you in advance for your expertise!
As per this thread - same issue Dear Collegue!I have tried these Resolution but nothing worked!I have the MathCAD 8 express free version and I can´t open the .mcdx file.Till today there weren't any Problems opening the file. The Problem is I can neither open it nor convert to pdf but need the calculations ://And I am speechless because its a very important file to me and I need it for University.I would be very thankful if somebody could help me!!! If somebody could convert it to pdf it would be enough for me. In kind regards!
Related to this thread: @Werner_E Hello Werner, I am currently looking for a way to process hexadecimal numbers with Prime and unfortunately I have seen that there is nothing out of the box. Now I would like to save myself the work of developing my own functions and using your preliminary work. Can you post the file here (I'm currently working with Prime 7). Thanks very much--------------------------- Hallo Werner, ich suche gerade nach einer Möglichkeit mit Prime hexadezimal-Zahlen zu verarbeiten und habe gesehen es gibt leider nichts out of the box. Nun würde ich mir gerne die Arbeit ersparen eigene Funktionen zu entwickeln und Deine Vorarbeit zu nutzen. Kannst Du die Datei hier posten (ich arbeite aktuell mit Prime 7). Vielen Dank
Friends!My book "Leo Tolstoy and Math" was published, where the examples were solved with the help of Mathcad. The book, however, is in Russian (see attachment), but you can view the illustrations. I show one of them.I am currently translating the book into English and would be very grateful if someone could help me.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.