Quantcast
Channel: PTC Community : All Content - PTC Mathcad
Viewing all 3331 articles
Browse latest View live

Fuzzy logic in Mathcad Prime


Updating Readexcel data

$
0
0

I'm having an issue with the "Readexcel" command in Mathcad Prime 3.0.  I have an Excel spreadsheet that contains several cells of data that I'm importing into my Mathcad worksheet.  My problem is that once Mathcad reads the Excel file I can't enter a new value in the Excel sheet and get Mathcad to import it without deleting the existing readexcel input and reentering it.  I've tried closing and reopening the document to no avail.  Is there a way to get Mathcad to reevaluate the input without deleting it and starting over?

 

The cells I'm reading are part of a larger Excel worksheet and it would be easier to leave it as it's own worksheet rather than an embedded object in Mathcad. 

Thanks in advance.

Background Color

$
0
0

Using Mathcad Prime 3.0 is it possible to chanee the background color to white?

 

Mostly I take screen captures of my equations to paste into word, since the Mathcad page color is not really white I have to go through paint to get it right.

 

If its not a feature any chance something simple like this can get into a future release.

CreateMesh, axis step, for spiral 3d draw

$
0
0

Hello there,

 

Listen, I'm try to use a 3D function to describe a path of an ant in a surface.

The surface rotate at 2*pi/ sec and the ant walks in line from center to away 1 cm/s. The surface is a circle with 1m radius.

 

After all parametrizations, i have problem to draw it. (you can see document attached)

 

This is the function that indicates the position of the ant dependent on time:

1.PNG

 

Then I CreateMesh and this came:

 

2.PNG

From 0 to 50, it should draw a spiral with 50 lines, or I'm I wrong? And how can i chose Step size in CreateMesh?

 

I want like t:=0, 1, 2, 3 .. 100. How can i do that on CreateMesh?

 

Regards,

L. L.

Random unit assigned to 0

$
0
0

Hi,

 

I have tried to do some fixed-step equation solving for power converters, and I have encountered a very weird phenomenon : a unit assigned to "0" without being asked.

 

here is a file that reproduces the problem. The "physical" model is a boundary-mode buck converter. The switch is on (PWM=1) for a fixed duration (ton), then off (PWM=0) until the current in the inductor reaches 0.

 

When the PWM is set to 1, no problem, but when it is set to 0, Mathcad strangely sets it to 0s. If I specify a unit, this units "overrides" the s. If a unit is set to the "1" condition, it applies automatically to the "0" condition too (???). The only way I have found to get rid of this is to do PWM:=PWM/SIUnitsOf(PWM), but it would be much better if it didn't force some unwanted unit in the first place.

 

Any idea where that comes from, and how to prevent that from happening ?

 

Thanks

Is it an error in Mathcad Prime?

$
0
0

NotComplex.png

And secons.

I see C, R and Z in help but C, R,Z and Q in the list of symbols.

mathcad 15 and mathcad prime 3.0

$
0
0

hi,

i would know the difference between mathcad 15 and mathcad prime 3.0.

which version should i get?

thanks

Mixing ODE and find

$
0
0

Hi,

 

I was wondering if there was any way to use find given a set of differential equation. Here is a (simple) example : charge of an RC system.

input voltage, and capacitor value are known. I want to find the resistor value such that, after a given time Tx, the capacitor voltage is Vx.

 

Obviously, this example is simple enough to solve manually, but could this be applied to much more complex systems where manual solving is not an option.


User Defined Units Help!

$
0
0

I am new to mathcad and I am just starting to play with simple problems first to learn the necessary interactions with the program to achieve desired goals.  I am working on a very simple problem that starts as seen below.

 

Life_Expectancy:=10yr

CyclesPerYear:=21900cycles

 

Total_Cycles:=Life_Expectancy*CyclesPerYear=

 

With this mathcad can not compute the Total Cycles and does not display cycles as a unit.  I have highlighted cycles and changed it to units to no avail.  I have also tried changing the term cycles to wipes and iteration but neither worked.  What am I missing to make this simple problem work?  Thank you

circular loop

$
0
0

hi

 

Good day.

 

I have 3 vectors, say L1, L2, L3. And now I want to get results for cross products of all possible combinations with two vectors (which is acctully  L1xL2, L2xL3, L3xL1). How can I get it with programming or in a easy way avoiding making three formula seperately for three results. Is there any function which can do this circular loop or other easy ways.

 

Best Regards

Jahangir

Fuuzzy logic in Mathcad

Mathcad Prime 3 speed and stability

$
0
0

Hi,

I'm starting to use prime 3, mainly becuse I manipulate large files ( typically 100X100 arrays of nested 5000 elements vectors) and even using function for most of calculation Mathcad 15 ran quickly out of memory.

No memory issue with prime but instead an incredible slowness in reading/writing files ( prn), a lot of pause in editing even if computing stopped . Also there is no autosave, and often crashes ( not responding) without any way to leverage Escape key.

 

Issue are happening even if if memory and CPU is far from saturation.

 

Combined with mediocre ergonomy on menu, por productivity overall..am i missing something be ( I admit I did not read help documents fully)

 

Thanks for suggestion...

 

JFG

Range Variable Summation

$
0
0

I am trying to create an interaction diagram for a circular concrete column. This is based off of an Excel spreadsheet that is currently being used and I am trying to convert that into a Mathcad spreadsheet. in the Excel spreadsheet the vertical load strenght and moment strength were found using the what-if function. The Excel spreadsheet solves for the total vertical load strength by adding the vertical load strength of the concrete (Pconc) and the vertical load strength of the steel (Pst) as is the same for the total moment Mn = Mconc + Mst. for  Pst and Mst I am using the Range of Variable Summation to sum the values in a Range (obviously). The summation comes up with the right value, but I need this to be converted back into a range as it is dependent on the value c. That is pretty confusing so I will give an example. c is a range of values. the first value of c is 0 which gives me a sum(Mst) = 8.05 * 15^-15 but I need the sum(Mst) to change as c changes because It needs to be added to Mconc to get the right Mn value. I will attach the spreadsheet so you can see what is going on, but I was just wondering if it was possible to make the range variable summation function change with respect to cj? I have also attached the excel file. you will need to unprotect the file and unhide rows 21-62.

vb script for mm to fractions of inch conversion

$
0
0

I need to convert mathcad 15 results having mm to fractions inches using scriptable objects)

Defining Variable

$
0
0

Hello everyone. Need help defining variables. I would like to define a variable as h/tw:=49. however everytime Math CAD recognizes / as he division operation and I am not able to define my variable. Is there and way to accomplish this?


Fuzzy equal

Help to correct the mathematical expression

$
0
0

Any one can help me to correct the error in may mathermatical expression. The second condition are not also readed by this expression same with the example I attached  -2.33<-1

 

2014-11-30 10_06_18-PTC Mathcad Prime 3.0 - Y__Projects_507910 Dubai Frame_Structural calculation_st.jpg

The feature of "Ctrl+Shift+J" in MathCAD is missing in MathCAD Prime 3.0

$
0
0

[Ctrl] [Shift] J Type characters inside brackets as in chemistry notation in MathCAD 15 or the previous version

 

but I can't find the same feature in MathCAD Prime 3.0.

 

Please tell me where it is, or I recommend to adding it in the next version.

Vector solve

$
0
0

Hi,

 

It is not the first time I want to find solutions to the same equations with different parameters/inputs, but it is the first time I do with more than 2 or 3 (I usually just did copy and paste). So for the first time, I am really trying to get Mathcad to solve equations with vectors on the input and output (but all scalar operations).

 

With what I did, Mathcad doesn't show any error, but the outputs are equal to the guess values, which seem to indicate that it doesn't work.

 

Practically, I have a circuit with a RL series with another R in parallel (R // (R - L)). I have measured it at different frequencies, measured the impedance and phase angle, and I want to identify the unknown parameters (series R L ). All parameters may vary with frequency (in fact, they probably do !).

 

Thanks

How can I hyperlink to a secure intranet Wiki Page URL in Mathcad?

$
0
0

I have used hyperlinks extensively in Mathcad over the years, but when posting a URL to an internal wiki page I received the error message: "Invalid path or internet address"  The URL address is of the form https://wiki.companyname.com/wiki/This_is_a_test That example is not a valid link, but just to show the link form.  Why won't this URL work, and is there a way around it?  We are planning on using such links extensively going forward.

 

Thank you in advance for your help.  I always receive very good and timely help.

 

Have a great day!!!!

 

Sharon

Viewing all 3331 articles
Browse latest View live


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