Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
I'm using Mathcad Prime 9.0.0.0 and I need help comparing the values in 2 matrices. To be more specific, I need a program that will start with the first column and compare the values going row by row, then return the value if there is a match, and if there is not a match then move on to the next column and repeat the comparison process. In the example matrices, Column 9 Row 4 (-1.63) should be the only value returned.
Working on linear interpolation of a coefficient from a 7x4 matrix, utilizing x and y axis ranges, Pg_Vector and R_vector respectively. From the first part of the linterp function worked perfectly for the x-axis solutions, but the second time working on y-axis returns an incorrect answer. See attached Prime 10 file.
Let's say I have a generic system block diagram as shown above, where I have two unknown inputs generating one output based on several scaling, offset and addition blocks. M1-3 and B1-3 are known parameters that do not change. I'd like to take the derivative of of the output with respect to M1 with some known inputs as setpoints. That's easy to do with the following:My problem arises when I try and define that same equation as a function of the inputs: I can get around this issue by defining the function with ALL variables, but this is tedious and cumbersome especially as the equations grow with many more variables Is there another way to do what I am trying to do without having to define a function with every variable? I've attached my sample mathcad showing this example in detail.
Good morning, I am starting to compile more custom functions. I thought it was possible to have these appear in the "insert function" action. However, these do not show up. I did stumble on CustomFunctions = to show the content. Is this possible? This was a note from pre-Prime DLL construction: Making the function available through the Insert Function dialog box In order to make a function appear in the Insert Function dialog box, you must provide information in the file USER.XML located in the subdirectory \DOC\FUNCDOC. Each function is an entry between <function> tag. Use the <name>, <category>, and <description> tags to specify the function name, its category, and its description as they should appear in the Insert Function dialog box. Between the <params> tag, indicate the parameters the function accepts. If you create a CHM Help file for your functions, use the <help_file> tag at the top of the XML fil
Hi,Change variable a from below and look at the V2(t)...Why odesolve block is behaving like this? Is it normal?Prime 10 file attached.The expected behaviour is like a =7.
Hi,How could be made this kind of pulse signal in Mathcad?
In this gear design work, I want to find a suitable x1 and x2 to make the sliding rate of each gear equal or close to equalnow I was stuck here, do you mind telling me which place is wrong and how to solve this question?Really appreciate your reading and help!
Hi everyone. I'm using Mathcad Prime 10.0. Was using 8.0 before the update. I tend to use vectorization this way before and never had a problem. Since I switched to 10.0 this way doesn't work anymore. It should be a vector or matrix but none of the operation for matrix or vector work anymore. Let me know if there is any error on my side, Thanks for your help!
IMPORTANT UPDATE: I have been struggling through a file I created originally in Prime 9 that has 3 chart components. The first is a simple chart component with absolutely no modifications made to it, containing 24 curves. The second chart has 6 curves with customized legend, line styles, title, etc. The 3rd chart has 10 curves and all elements of the chart are customized heavily (chart title, legend, trace names, line type/color/thickness, axes names and tick mark font sizing on all elements, etc.). This 3rd chart continues to become corrupt after saving it - of course this is the one that needs to be published! NOTE - Prime 10 seems to be "behaving" so far - hopefully this has been addressed in this latest version. Stay on the lookout for this issue with your chart components using Prime 9!
Hi,Why I cannot do like f2(x,y,z) as we can see the derivative result is depending on all 3 variables x, y, and z? Should be like that for f2? Prime 10
i Mathcad experts,I have some questions about Mathcad function. I don’t have any useful idea to solve my issues.I have one equation, and I can draw the curve of this equation.And then I try to solve the peak value of curve (fig.1) by using the method in EX2.Below are my questions.1.Any method I can solve this equation to get the fn_Y2, please see EX1?2.How do I use solve function to get the fn_Y2, if I have different inputs Q2 at the same time (please see EX3). I can do this when I only have one input, please see EX2.3.If the issue 2 can be solved, and then I would try to input the fn_Y2 to get the peak value . Also I would like to draw the relationship of Q and peak value, please see the fig.2 (this fig is from TI’s datasheet), could you please give me some suggestions.
Hi everyone, I have a problem with interpolating data in Mathcad. Please see the attached file. In Excel, I have defined materials and temperatures. I want to replicate this in Mathcad so that when I select the material and temperature, the corresponding stress value is automatically displayed. Additionally, for temperatures ranging from 100 to 250, if I select a temperature like 120, the stress value should be determined through interpolation based on the material and temperature. I have also attached my Mathcad file. I approached this in two ways: The first method works for standard temperatures like 100 and 150 but shows an error if I select a temperature like 120 that is not explicitly defined. The second method involves interpolation but only for one material. If I have multiple materials, I have to repeat the process for each one. If anyone has encountered and solved this issue before, please let me know. note - these materials and temperatures ar
Hi,I am new with mathcad, Could somebody help solve problem. Why temperature value is marked red color?
Hello everyone I worked on MathCad 13 for years, but recently switched to MathCad 14. Generally, both versions are very similar, but it turned out that I have a problem - MathCad 14 is not able to solve some equations using the "solve" function, which version 13 solved. After a few seconds of "struggle", an error message appears, as in the attached graphic. In turn, in cases where version 14 solves equations created in version 13, it does it very slowly - in version 13 they were solved immediately after opening the file, and in version 14 you have to wait a long time, even about 10 seconds. What is the problem and how to solve it? I would like to mention that I cannot return to version 13, which I would like to do. Thanks
In mathCAD prime 10, how to do element product in two column vectors? For example, A := [1 2 3]B :=[4 5 6] I want to have C=[4 10 18]. In this case, how can I express it in mathCAD?Please help me!
Im having trouble transferring my calculations from my private Computer ( PTC Mathcad 10 version trial) , to my university Computer (Version 9)Directly opening the new version Files, on old version is ofcourse not possibleCopy Pasting it in a external document and inserting it in the old version also does not workMy Question is, Is there any way of transferring my calculations from new to old version ?(It is not posible to make any aditional Instalations on Uni Computer)
I have defined function with "for loop" inside for table content processing. It looks simple, but unfortunately it doesn't work. Instead of calculation results , the message "This value mus be a scalar a matrix" is being displayed.I was using this function with Mathacad 15 and it was working fine, but I can't reproduce it within Mathcad Prime 8.Where did I go wrong? Regards,Bogdan
I am trying to get a pressure-enthalpy diagram for methane by using Coolprop but I am constantly getting Pressure_out_of_range error. Does anyone know the solution?
Hi all I am having problems with PTC Mathcad Prime versions. I use the latest version, i.e. 10, but colleagues etc. use varying versions, for example 9, 8 and 7. However, they do not have the option to upgrade to the latest version. When I send them the file saved with the latest version, they can't open it. What is the solution? The best would be a solution where I can save the file so that it can be opened in any version, because I don't always know which version the other party is using.
Hi,
Hi,How to solve for V2(t)?
I recently encountered a really strange programming error in MCD11. A calculation of the sum of three terms only includes the first two; the third term seems to be ignored. When the calculation is simply repeated, in what should be a second identical calculation , replacing the result with the (supposedly identical) new result, the repeat calc now gives the correct answer. The program is a simple transmission line simulator, which I was originally running with 1000 time points and 100 spatial points along the T-line. I was able to keep the error behavior using 6 time points and 4 spatial points. The attached program and pdf show the behavior. Referring to the pdf, on page 1 is the original program on the left (with the error) and the modified program (that works) on the right. The only difference is the repeat of the calculation line for vn(kt,Nline). This term is the sum of three other terms – as shown. I spent a lot of time troubleshooting the program when I realized it was
Hi,This is a modified variant of this circuit from this topic.As I am interested why odesolve block cannot solve such a kind of circuit or why we cannot use odesolve block here... let's see if someone will come with an answer by solving this problem using odesolve block.Find the current through C1, voltage across L1 and voltage across R3. Analysis must be done using odesolve block. a) Vs(t) = 10V b)
Hello, I am trying to utilize the new advanced controls textbox functionality by changing the background color of the textbox based on the input condition. The input condition would be a defined variable called "Ratio" and whether or not it is above or below 1. The textbox would be assigned to the variable "Check", if Ratio is above 1 than check would read "No Good" with a red background, If Ratio is above 1 than check would read "OK" with a green background. I have been searching through previous posts and had some help but am getting stuck with what appears to be passing in input variable "Ratio". I keep getting the following error. I have put the file I am working on below for reference.
Hi there, Is there any way to insert data from PDF or Notepad into mathcad without the need to change the file into excel. I tried to do so by copying past the data but I got my data as text , couldn't past them into a matrice or table
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.