Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
If I have a vector A and B both with 10 elements. How can i create a vector C that has the minimum values of A or B on each corresponding position.Thanks in advance !
I am trying to combine a few load cases (speed and loading combinations) into arrays (or matrix), see simple example of input and what I'd like to achieve. I know how I could use nested FOR to loop through the arrays but I don't know how to assign variables to get the end result. Or is there a different way? I hardly know anything about functions and programming in Mathcad.
Hi, I have a MCP sheet that pulls from some matrices to perform basic calculations that takes over an hour to complete. I would like to improve this significantly if possible. I tried to rely on built-in functions (e.g., "lookup") when possible for calculation efficiency. The main calculation (image below) uses data from three matrices (36177x9, 2412x9, 1206x12) to perform basic +-x/ calculations resulting in a 216619x8 matrix. At the end of the sheet, there is some red text that helps point this out. File attached. If anyone has tips for how to improve calculation speed or is able to help me optimize this process, I would much appreciate it! Thanks!AndrewMathcad Prime v9NO multithreading11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz 2.61 GHz24.0 GB64-bit
Using Prime 9.0Hello,I have a large matrix of time and current data for 6 different channels. The even columns (0,2,4,6,8,10) contain the time data for the odd current data columns to the right (1,3,5,7,9,11) - Excel image shown below for visual clarity.I am trying to sum up the current data of the 6 channels into a 2 column matrix (time, current) adding the currents at the appropriate times. The time data is in microseconds with time steps of ~.006-.007 μs and the channels time data overlap with start times shifted by 7.5 μs. For example, Channel 0's time data spans from 7.5 μs to 41 μs, Channel 1's time data spans from 15 μs to 48.5 μs, and so on. I wrote the matrix data to an excel file and attached. Excel Image:MathCAD matrix:It's kind of hard to explain verbally, but basically the channels have time and current data that overlap, and I want to add the currents of the overlapping times accordingly. I have a user-defined function tha
Is there any way to simplify this?
I announce a competition - who will create the most interesting and beautiful portrait of the roots of two equations. I will send a hard copy of my book (2⁵ Problems for STEM Education - 1st Edition - Valery Ochkov - Rout (routledge.com)) to the winner of the contest. The end date of the competition is April 1, 2022. I will personally determine the winner. Materials explaining the essence of the task, in attachment. In the picture - a sample of a work of science and art, which should be submitted to the competition.
Even though the function is defined when doing ans := ShahST(G), MATHCAD says its undefined. Please advise. Thank you in advance.
Hi I have 2 equations that are written symbolically. and there are 2 variables : "D" & "z" I cannot solve the equations even in solveblock . please help me . my file is attachedThankyou
Hi! I'm a college student having problems with the creation of the matrix. The informational failure is "Found a similarity while evaluating this expression. You may be dividing by 0 or inverting a similar matrix." Please help!
Hi Guys,Can anybody to simplify this program?I must run for “k” and “i” twenty times the block.CarlosRomero
One legacy feature that has still not been integrated into Mathcad Prime, is the ability to provide companion XML files that integrate Custom Functions documentation into the Mathcad interface. Legacy Mathcad would read these XML files and add the new functions to the list of internal functions in the Insert Functions panel under their own, specified Function Category.Legacy Insert Function Panel While Mathcad Prime does contain a Functions panel for inserting built-in functions (can be triggered with <F2>), it does not allow for incorporation of categorized Custom Functions into that interface. For DLLs containing a large number of Custom Functions, this can be problematic for users to know which functions to use, what they do, what parameters are needed, and the proper function syntax. I've managed to create an open-source add-in, CustFunc, that brings back the Legacy insert functions behavior for Custom functions, reading the function names, categories, syntax,
hello everyone!I want to set this equation equal to zero and find the unknowns c and k. Of course, I have to use the gamma function for this. Does anyone know this subject?
I want to optimize solution based on conditional operators in Mathcad Prime 8. Please help
Hello, I am inputting a vector into a for loop, but struggling to get a vector back for the output. I would appreciate any help. I could not figure it out from other examples on this forum. I am wondering if I am making an error in the initial step of the for loop? Thank you.
Here https://community.ptc.com/t5/Mathcad/One-electrical-task/m-p/926303 was all OK!
Using: MathCAD Prime 9.0Hello,I am trying to add a scalar value to every other column in a large matrix (each element in an even column). I included a screenshot below of a small scale example of the input matrix M, scalar value to add, and the desired output. I thought this might be able to be accomplished using a for loop of some kind looping through the elements and only adding the scalar to the even columns, but I wasn't able to figure out how to do this.The real application is I have a large matrix of time and current values with every other column being the time columns, and want to add a scalar value to shift the time values. Any help would be greatly appreciated!
I got a notice that Prime 10 is coming, or here, but no date. Does anyone know when Prime 10 will be available?
Having an issue with the solve block, most likely because of my little experience with Mathcad. I do have a function in the constraints, but don't know how to solve the issue. Any recommendations will be greatly appreciated.
Hi, *** I attached a Mathcad sheet exemplifying the issue*** I have a variable j defined below:This variable can take values like [1], [2], etc. except when type is 12, in which case j=[0,1,2,...,11]My idea is that the user can select an individual type or select type=12, which includes all types from 0 to 11..When I multiply two vectors using j to access their elements, it works as intended: The problem occurs when I want to store this result in a variable. I want to get rid of those zeros and mimic the C_j * M1_j results shown above. I tried to create a another variable i but for some reason it gives an error: I wonder if there is a cleaner/easier way of doing this? Regards,
See please Prime 6 in attach. How to solve this task not with SI but with CGS (not with F but with cm)? Very interesting article about this problem Dmitry Sivukhin "About SI" 1974
Version : PTC MathCAD Prime 9.0.0.0So, I had a problem statement in one of my bridges where I had depth as varying (basically z coordinate value with a certain formula that could be followed).So, here I used a constant formula which could be used for all points of vertex needed in z cordinate which I defined as various variables that it picked automatically. And worked & I could get my function sorted. where I stored my variable values reading from excel which then used this formula for all z coordinates and formed as we move along x axis.So this basically is the solved oneNow, my new problem statement in which I am using my same sheets, is that I have different varying values both in y and z coordinate which will be reading from my excel sheet. But the formula is not same for each point of vertex or cross section i.e., y and z coordinate points (different formula).The y & z values have to use the formula's as below for each y & z coordinateNow, I have stored these variable
My company currently utilizes the Mathcad Prime conversion tool to convert Mathcad 15 files to Prime. We auto-generate .xmcd Mathcad 15 files by creating them as .XML text, and then convert them to Prime to open them in Mathcad Prime 9 since Mathcad 15 is no longer supported. Is there any plan to get rid of the Mathcad conversion tool in the future?? We really need to know if the conversion tool will eventually go away, as we would need to determine another way to auto-generate the Mathcad Prime files without going through the Mathcad 15 .XML files, then converting them to Prime.
As per the original post. could you convert this one to .sm? if it's not possible, at least for the .xmcd format. thank you!!
I am an adjunct professor and I'm using PTC Mathcad Prime 8.0.0.0 [Academic] I get a message when I start the program ""License expiring (full functionality - X days remaining). I can't locate instructions on how to renew my license. The chatbot is useless. Can someone helpme? Tom Jenkins
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.