Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
I am using Mathcad Prime Release 7.0 and Datecode7.0.0.0Mathcad Prime 7.0 can show results in scientific notation, but if exponent is zero, the exponent is skipped.Is it possible to display always the exponent as Mathcad 15 can?
HelloI use MathCad Prime 7.0, to a lot of symbolic solutions, but many times it comes out in a long solution that could be reduced, but simplify can not do it. What should I use to make it shorter/reduced.
Hello everyone,I am trying to automatize a calculation process in Mathcad, but I am having some difficulties doing it.Lets say I have a matrix with “n x m” number of rows and columns.In this example we can have the following matrix (5 x 6 – but it can be different, ex: 10 x 15, 9 x 10 etc...):Note that Ni is each row of the matrix.There is a variable “var” that can be equal to 1, 2, 3 or 4.And finally we have vector “V” (that has always 1 single column, but number of rows depends on the variable “var” however this vector is an input, the values below are just an example):I want to obtain the following matrix “M” depending on the variable “var”:- If var = 1 (“V” vector will have just 1 row – F1 = 10)- If var = 2 (“V” vector will have 2 rows – F1 = 10 / F2 = 1)- If var = 3 (“V” vector will have 3 rows – F1 = 10 / F2 = 1 / F3 = 4) - Finally if var = 4 (“V” vector will have 4 rows – F1 = 10 / F2 = 1 / F3= 4 / F = 7)Any suggestions? Thank you so much for your help, Miguel
MathCAD Prime 8.0 error
I am a new user of Mathcad Prime 8 and have created a collapsible area for constants/units etc. However I realise that while I expand the area, the content below the area is shifted downward, when I collapse it, it remains permanently shifted, creating an empty space the same size as the height of the collapsed area. So I have to manually remove the empty space. I am missing something or is this a bug? I do remember Mathcad 15 didn't have this issue?
Hello, I'm using Prime 7 and want to convert some Mathcad 15 documents but for some reason the converter button is greyed out and not clickable. Any tips how to get it working?
Hello everyone,I am quite new at programming in Mathcad.I am trying to create a matrix using different vectors that are obtained based on a certain condition: I made an example with vectors N and M. The idea is to reach at the end the matrix "Final". Is there a way to use a for loop function to define the final matrix taking into account that the number of rows in the vectors N and M can change (but still equal)? Thank you,
Hi All,I would like to obtain a value of a variable from my worksheet. Let say my worksheet has x:=1 and y:=x+1=2. What function can I use to get the y value? I was trying with Worksheet.OutputGetRealValue(&As)("y") but I got an error instead. The following is my code: Sub test01() Dim WS As Ptc_MathcadPrime_Automation.Worksheet Dim App As Ptc_MathcadPrime_Automation.Application Set App = New Ptc_MathcadPrime_Automation.Application FileName = Application.GetOpenFilename(MultiSelect:=False) Dim conNum As Integer i = 22 conNum = Cells(i, 7) Do While Cells(i, 1).Value <> "" '' inputs Set WS = App.Open(FileName) Call WS.SetRealValue("#", Cells(i, 7), "") Call WS.SetStringValue("M1", Cells(i, 2)) 'Call WS.SetStringValue("M2", Cells(i, 4)) Call WS.SetStringValue("M3", Cells(i, 3)) Call WS.SetStringValue("M4", Cells(i, 1)) Call WS.SetRealValue("D2", 3, "") Call WS.SetRealValue("D3", 3, "") Call WS.SetRealValue("D4", 3, "") Call WS.SetRealValue("D1
I have done many FFTs of optical images and systems in Mathcad 15. I convert them to Prime 8 and almost all of them will not display the 3d plots due to the error "3D plots must be less than 40,000 points". Why? They worked fine in 15. Also, you can no longer get a good smooth 2D image displayed as if you captured on a ccd camera. Prime 8 doesn't allow me to generate theoretical images that I can compare to my experimental ones captured with the ccd. Why was this capability lost? Or is there a way to do it with 8?
Hi, i am doing some calculations on a project and am quite new to Mathcad. When using the solve block i keep on getting an error and i dont know how to solve this one. Any idea where i might be wrong?
1) I've been working with Mathcad 6 Plus for many years. And it doesn't seem to me that the conversion gives the same result in terms of format. Do you have a comparison table or something similar to facilitate exact file conversion ? (With Prime8 ) 2) Can a spreadsheet be saved in a format locked to the user except for input variables without the user needing to own the Mathcad Prime program? Thank you for the time being. Translated with DeepL by Emily on Apr. 25th, 2022. --------------------------------------------------------------------------------- Subject: Formattazione 1) Ho lavorato per molti anni con Mathcad 6 Plus; e non mi pare che la conversione dia lo stesso risultato in termini di formato. Avete una tabella di confronto o qualcosa di simile per facilitare la conversione esatta dei file ? (Con Prime8) 2) Si può salvare un foglio di calcolo in un formato bloccato per l'utente tranne che per le variabili di input senza che l'utente abbi
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
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.