Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
The only way I see to do it is to clear each variable individually ..... clear (x,y,z,....) That can be a lot of typing in a large sheet and you might miss one. I've had a few situations where I'd like to just clear everything and have a section of my worksheet act individually without any worry of using prior values but without having to relabel everything. The documentation doesn't point to any solution, but I know there are occasionally undocumented techniques.Thanks,
As you see from the above snips the zmin is extracted from combo box of terrain category but is not recognized in the cr(ze) program.
Would be nice if Mathcad Prime included internal routine for the Schur and Jordan decompositions of a matrix.Has anyone developed a Mathcad Prime routine to return the Schur and Jordan decompositions of a matrix? Thanks for any help.
This is a text with tabs: Tab1 text Tab2 text text Unfortunately, it is not possible to write the right text in Prime 8 exactly below each other as a column.------------------------------- Translated from German to English using google translate. Translated by vnamboodheri on 19-01-2023 at 14:37 hrs.-------------------------------Das ist ein Text mit Tabulatoren: Tab1 Text Tab2 Text Text Es ist leider nicht möglich, den rechten Text in Prime 8 genau untereinander als Spalte zu schreiben.
The percentage operator in the result is getting scaled to 1% after converting it to prime. Is there any way to avoid this ?
Hello communityI request your help please with the following problem:I need to run a for or similar loop that allows me to build a 1x (2N) array, where N is an input value.That is, the array will always have an even number of rows. On each odd row the routine should place "Px" and on each even row the routine should place "Py". Thanking you in advance for your help
Hello, I would like to export a complete matrix from mathcad prime 8.0 to an existing Excel file and in a specified range of cells. While reading through some older posts on this topic, I got the feeling this shouldn't be too hard. I am, however, completely new to VBA. For now i have the following lines: Sub ExportMatrixToExcel()Dim MCApp As Ptc_MathcadPrime_Automation.ApplicationDim WS As Ptc_MathcadPrime_Automation.WorksheetSet MCApp = New Ptc_MathcadPrime_Automation.ApplicationMCApp.Visible = TrueMCApp.Open ("E:\Mathcad\test.mcdx") From here i would like to export the matrix in the mathcad file to my Excel file. The dimension of the matrix is 5x5 and let's say i want to place this matrix in Excel starting at C5 and ending at G9. Is somebody willing to help me with this with a general example?Thanks in advance
Hello everyone, I'm encountering a problem with the attached Mathcad Prime 8 where the custom function MaxRecords(M) isn't yielding the expected results when reading imported data from the attached RAW DATA.xlsx. The input matrix "MaxT3" passed to the MaxRecords(M) function, comprises five sets of results for each ID where there is a total of 289 IDs. I need to extract only the records with the maximum resultant force FR (column 10). The result from MaxRecords should have only 289 records, but it's currently delivering 1445 records (289x5). Could you please review and let me know where the issue lies?. Also, the resultant matrix of maximum records should keep the same order as the matrix MainRunT3: I tested the MaxRecords function with a smaller data set and is working fine (see snapshots below of the smaller set raw data and the corresponding MathCAD results): Finally, please let me know an easy method to disconnect a large matrix from its formula.&
Hi ALL, How do you avoid unnecessary parentheses that Mathcad applied to each complete expression automatically? It seems to me that it is one of the first information to be learned but it escapes me at present. How do I? Thank much.
L.S., being on the side of business, I have Prime 9 as free available. I would like to open some older files and need a running Mathcad 15 to convert them, as I have been told.If anyone can do the conversion for me, that would be great.You find the files attached.Gerrit van der Graafg.vandergraaf782@gmail.com
Hi!Assume the following simple equations, which I want first to define x=b+5 and later solve the second equation for b.How can I do that? The same question when we add units as well. Here, I think I need a symbolic variable (a) defined first and then solve Z for a to find the a.Any help is much appreciated.
My Worksheet Converter in M-C Prime 8.0 for some unknown reason got grayed out and I cannot access it.A note says "Worksheet converter is not installed. Run setup to add the installation."Can somebody tell me how to do it. I tried to search for it but I could find nothing about running setup and reinstalling the Converter.
Please see attached Prime 9 file. I want to format graph to look like :
I have imported excel data and made column vectors from data. When I try to multiply elements with an index beginning somewhere in the range I get this.Why do I get zero values and how might I eliminate this behavior?Any help would be greatly appreciated.
Hi there I am using Mathcad Prime 8.0 and Excel 365 32-bit. I have a Mathcad Prime 8.0 sheet (converted from Mathcad 15.0) that sends input e.g. NPS:=2.5 into an Excel component and extracts dependent output data. It appears that if I change the Mathcad parameter to e.g. NPS:=8, Mathcad updates the input inside Excel, but Excel does not auto-calculate. Excel apparently only auto-calculates if I force re-calculation through CTRL+F5 from Mathcad, or if I open the Excel component and force re-calculation (e.g. Calculate Now) I have Auto Calculation and multi-threading enabled in Mathcad, and Calculation Options set to Automatic in the Excel component. Has anyone seen this before and know how to enforce auto-calculation without using CTRL+F5? E.g. write a macro inside the Excel component that triggers auto-calculation? However, it looks like a bug. Thanks.
Hello, I am some difficulties with the phase plotting of a transfer function, and I am wondering if you could give me please some pieces of advice.Attached is the mathcad prime 7 file with the transfer function and the formula for the phase.I would like to do the plot as described in the attached image.F represents the ratio f/fo. Thank you.
Hello, I would like to get some help from you in regards to an equation that I would like to solve it symbolically.Please find attached the file, which is on PTC Mathcad Prime 7.Please let me know how to improve the equations in order to be able to find a relation for x. Thank you,
Cant do anythig with Mathcad window windbg shows: wow64win!NtUserGetMessage+0x14 00000000`0009e5c8 00007ff8`d008399e : 00007ff8`d0ea5ba0 00007ff8`d0ea5c7f 00000000`00000000 00000000`00000003 : wow64win!NtUserGetMessage+0x14 00000000`0009e5d0 00007ff8`d0ea90da : 00000000`0033e000 00007ff8`d0ea6f60 00007ff8`d0ea8600 00000000`00efe644 : wow64win!whNtUserGetMessage+0x2e 00000000`0009e630 00000000`776317c3 : 00000023`761f101c 00007ff8`d0ea0023 00000000`00000000 00000000`00effe0c : wow64!Wow64SystemServiceEx+0x15a 00000000`0009eef0 00000000`776311b9 : 00000000`00effd24 00007ff8`d0ea3a74 00000000`0009efc0 00007ff8`d0ea3b6f : wow64cpu!ServiceNoTurbo+0xb 00000000`0009efa0 00007ff8`d0ea3989 : 00000000`0033d000 00000000`00400118 00000000`00000000 00000000`0009f800 : wow64cpu!BTCpuSimulate+0x9 00000000`0009efe0 00007ff8`d0ea337d : 00000000`00000000 00000000`00154388 00000000`00000000 00000000`00000000 : wow64!RunCpuSimulation+0xd 00000000`0009f010 00007ff8`d1e8380f : 00007ff8`d1ed5a
To whoever may be interested
Hello everyone, I have a new question for you that should be straightforward. I'm wondering how write a program to add additional rows to a matrix, where the values of the elements are calculated according to a formula using existing data within the matrix. The attached Excel file includes a tab with input for the ReadExcel function, as well as a tab showing the desired output by a writexcel function. Essentially, the matrix is a list of node point IDs with force vectors due to six load cases. Each node ID will have the same number of load cases and the input will be always sorted by LoadCase column. I would like to add new rows for each node ID, namely 7 OPEPOS and 8 OPENEG, using a specific formula which pulls its input from the existing data within the matrix. Input for the readexcel function:Desired output by the writexcel function:Rows 8, 9, 16 and 17 should be added by the formulas:FR is the force resultant.Just as a note, I have currently MathCAD Prime 8 and unfor
I have a long workshheet with a few red or black two colour plots. When I save as PDF some of the red traces show as black. I have been very careful with Plot positions and spacing. I have tried saving from the Math tab and the Document tab. Is there some official guidance?
i would like to make FH4, FH3, FH2, FH1 the same value. only by changing alpha. i would be very gratfull if someone can help
At the point when I work out segment properties for a bar, I for the most part run AutoCAD's MASSPROP order on the segment and afterward do any extra examination in MathCAD. I'm frequently doing composite pillars, radiates with custom shapes, and so on so I can't depend on wizardry equations for explicit shapes. There are a couple of properties that I haven't had the option to work out as effectively, for example, the torsional steady, distorting consistent, plastic segment modulus about plastic segment centroid, and monosymmetry steady. These are tracked down utilizing limited component examination. I have a python Programming interface composed by Robbie van Leeuwen called SECTIONPROPERTIES, and it's perfect yet my partners don't have the foggiest idea how to utilize Python. So with that unique situation, my inquiry is "How might I utilize MathCAD Prime to cut a part into discrete components and run a limited component examination or settle differential conditions o?
Dear all the reason of my posting is an failed conversion of a MathCAD 15 file/model to MathCAD Prime 7.0In particular this Model contains a quite complex differential equation, and after using the converter the new MathCAD Prime 7.0 model output an error on the command line which should start the solver (in this case it is the rkfixed, but the same error occurs also with other solvers. The red mark of the error is put on the "D" of the beforehand differential equation, the error report is (in german) "Ein_Aufrufziel_hat_einen_Ausnahmefehler_verursacht." This means something like "a call target has caused an exception error" (I do not know the exact error description in the english version).As MathCAD 15 is terminated by the supplier, we need a solution to further operate this MathCAD model. Attachment: The MathCAD 15 file and the MathCAD Prime 7.0 file after conversion. The said Differential equation ist given on Page 13...15 in MathCAD 15, on Page 16...18 in MathCAD Prime 7
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.