Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all 2936 articles
Browse latest View live

Defining a Function with Subscript or Superscript

$
0
0

Hello,

 

Would you please let me know if we can define a function with sub or superscript.

 

Something like: Usub"Tip"(x,y)=-----

 

Thanks,

Anousheh


How can I safely distribute Mathcad worksheets on our company

$
0
0

Our company has developed several mathcad worksheets and each new employee improve their own version of each worksheet but they do not shared this with anyone and when he is fired he takes all this knowledge and hard work.

 

Its there any solution for this problem.

 

Best Regards from Chile

Rodney B.

Memory problems stacking Matrices

$
0
0

I have a small programm trying to split a matrix depending on the content in the rows. Now I'm using the folling algorithm:

take the row as submatrix  on the actual position

stack that on one of the two alternative matrizes depending on a condition

Unfortunately this has a very poor performance both time and memory wise.

Assigning the rows via i,j to a new matrix seems to be better. Any ideas why?

thanks

Exponential Fit Curve Help

$
0
0

Hello,

 

I am trying to create a best-fit curve for a data set. I have imported two excelsheets containg the data into Mathcad. Each excel contains 1066 intergers.  I have plotted them using the x-yplot functionality. The plot appears to follow an exponential projection. So,  I tried to obtain exponential fit curve using the expfit() function. However, the fit function that I obtained is not correct, because it does not fit the data.

 

Please advise what I shoulddo  to obtain the proper exponential fit curve.

Odesolve Block

$
0
0

Hello,

 

Please look at the attached worksheet. At the bottom of the sheet, Y:=Odesolve(x,20) is red and says " No "Given" found to open this solve block."

I have "Given" before my DE. Would you please locate the problem and help me to resolve this issue?

 

Thank you so much for your time and help.

 

Regards,

Anousheh

How to extract a symbolic only function to the numeric processor

$
0
0

Some functions are only recognized by the symbolic processor. I am looking for a way to encapsulate some of these functions so they are available to the numeric processor via a normal function call. An example with one such function - Si(x) - is shown in the attachments, with various schemes I have tried. The element-by-element approach in item 2  works for assigning values to an array of arguments, but is a bit more awkward than I prefer. My attempts at defining a function in items 4-6 haven't worked.

 

Is there a way to define a function that is recognized by the numeric processor that does effectively what is in item 4, but works? If it can be done for a scalar, then I would assume that vectorizing this function would allow evaluation with array arguments, since the symbolic encapsulation is isolated in the scalar  function definition.

 

If responding with a file, please save in mcd11 format.

 

Thanks,

Lou

Pop-up window

$
0
0

In my calculations at a certain time occurs a pop-up window with a specific question:

 

Pic_2.png

 

Is it possible to create a pop-up window like the following type (answer "Yes" must return "1" and "No" return "0" into variable "Question")?

 

Pic_1.png

How to insert plot from another sheet?

$
0
0

Hello,

 

I am using a plot very often. The problem is that this plot is time consuming to create and it would be nice if I could import it from another sheet.

 

Copy and paste doesn't work. Any alternative?


3-d Nostalgia

GRAPH plotting using generated data

$
0
0

Hello,

 

I have a worksheet (attached), with generated DeltaQ values.

 

I would like to plot graphs as depicted bellow:

 

Could anyone please help me to obtain these plots?

 

Please note: change rho and x0 globally at the bottom of the worksheet to get the corresponding values of DeltaQ.

 

Thank you,

Anousheh

 

outline_Figs. 15 and 16_scan.jpg

Import from MathCad to WORD

$
0
0

Hell everybody,

 

Please look at the attached worksheet. I try to copy and paste one graph into WORD.

After doing this and also UNGROUPING the figure for further editing, curves will expand beyond the graph frame (border).

If the curves expand in one direction only, then I could use "if" command to restrict the output. In this case as you can see bellow, the curves expand on two directions. I tried to use "if" and "and" command but couldn't.

 

Would you please help me to solve the issue?

 

Thanks for the time.

 

Anousheh

 

Import From MathCad.JPG

AUTOMATED (PROGRAMMED) CALCULATIONS

$
0
0

Hello everybody,

 

I have attached a MathCad 15 worksheet. I would like to make tables of the following parameters for 3 values of alpha and for different rhos.

 

rho values: 2, 5, 10, 20, 30, 50 and 60

 

x1c, x2c and x3c corresponding to alpha=0.50, 0.45 and 0.40 respectively.

Q1c, Q2c and Q3c - same thing.

y1c, y2c and y3c - same thing.

 

Please go to the "Xc, Qc and Yc Section" on the worksheet.

 

Also, I would like to make some graphs of these parameters.

 

Thank you so much for the time and help.

 

Anousheh

PS final results as an array would be OK. I guess, it can then be exported to excel. OR, can MactCad produce tables?

How to format the result of symbol calculation?

$
0
0

I am using Mathcad Prime 2.0. My question is listed in the attached .mcdx file. I try to simplify the result by using Format menu, but it doesn't work.

 

 

Thanks,

Simon

Possibilities of Tabes in Mathcad - in Comparisson with Excel

$
0
0

Dear Mathcad users,

 

I´m looking to create a datatable and plot in Mathcad.

The data in the table are dependent on two variables, independent of each other. The extreme values of the endresult are calculated seperately but schould be a part of the final plot. Is this possible, and is it possible in an unlizenzed Mathcad?

The Excel sheet and my Mathcad-try are attached to this post. In the Excel-Table, the first two colums are the variables, all the following columns depend on them. The pink cells are the extreme values.

 

I also have a few other questions:

1) The mathcad I have installed is Prime 2.0. It saves teh data with a mcdx extension. I can not open mcd extensions created in a previous version of mathcad. Is my data lost?

2) Is it possible to crate pdf outputs from mathcad?

3) Is it possible to create a sheet format with frame, logo, etc, etc....?

 

Best regards from a real newby

Exponential Fit Curve Help

$
0
0

Hello,

 

I am trying to create a best-fit curve for a data set. I have imported two excelsheets containg the data into Mathcad. Each excel contains 1066 intergers.  I have plotted them using the x-yplot functionality. The plot appears to follow an exponential projection. So,  I tried to obtain exponential fit curve using the expfit() function. However, the fit function that I obtained is not correct, because it does not fit the data.

 

Please advise what I shoulddo  to obtain the proper exponential fit curve.


Converting Problem PRIME 2.0

$
0
0

Hello,

 

well the first problem was the registered Mathcad 14, but after deleting that and reworkink regdotnet, the problem remains.

The converter hangs after hitting "include references"...

any ideas?

 

thanks

This array index is invalid for this array

$
0
0

hello

 

I am trying to replicate a relatively simple worksheet from:

 

http://www.alueurope.eu/talat/lectures/2301ex/ex81.pdf

 

I get the above mentioned error when typing the infromation about sectorial coordinates on the page 2. I have also attached the worksheet. How come it works for the author of the document but not for me? Is it because it is another version of MathCAD? If so how can I fix it?

 

Thanks in advance

functions within functions

$
0
0

I am wondering how one uses a function within a function.  For exampe:

 

 

t=0,1..10

f(t):=2*t

 

then t and f(t) are vectors of length 10.  t contains the 11 numbers 0-10 and f(t) contains the 11 numbers 0 through 20

 

Now, I need to use the values of f(t) in another equation, like:

 

g(f(t)):=10*f(t)

 

I should be able to get a vector of 11 numbers ranging from 0 to 200, but I can not make this work. 

 

In my actual  problem I am using an ODE solver to get the values f(t) and so I can't just change the algebra.  I need to use the values of f(t) in another equation?  HOW DO I DO THIS

Editing original post

$
0
0

It seems that I can edit my own replies to posts, but I can't edit the original post even if it's my own. Is this deliberate? IMHO, it would be better if it cold be edited.

Font characteristics for variables in Mathcad Prime 2?

$
0
0

How does one change the font characteristics (e.g., typeface and size) for variables in Mathcad Prime 2?

Viewing all 2936 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>