Quantcast
Channel: PTC Community: Message List - PTC Mathcad
Viewing all 9237 articles
Browse latest View live

Re: Not return Value when using integral in MathCad Prime!!

$
0
0

Wow...

Thanks a lot

I never thought I should mention unit beside 0

Now it is working and I can Continue

 

But i did not understand why should I use some variation except x...

 

Thanks a million


Re: Not return Value when using integral in MathCad Prime!!

$
0
0

You could also follow this "road" ...:

Simple support beam.jpg

Export data

$
0
0

Hello,

 

I am using Prime 3.0. I want to export data from a trace in a plot into Excel. How can I do this?

I can see one can import data from Excel, but what about exporting from Mathcad to Excel?

 

Thanks in advance

 

Pascal

Re: Changed computers and Mathcad 15 only load 75% of the way

$
0
0

I suppose you can now mark the discussion as 'answered'...

Re: Export data

$
0
0

One possibility is:

You can use WRITEPRN and APPENDPRN to write successive rows of a matrix to the same output file and after completion read the data into Excel as a (comma separated) delimited file.

 

Success!
Luc

Re: Export data

$
0
0

Thank you. I'll try to do it this way. I have to get my data into a matrix. I have defined how to plot Gain ad Phase of a complex transfer function. I only have the traces so far. I'll try to manage that before using your advise.

 

Thanks

 

Pascal

Re: Not return Value when using integral in MathCad Prime!!

$
0
0

Thanks a lot

it is another choice and every root has its own benefits

may I ask you how can I find and learn about forms of evaluation, I mean the terms of "Simplify" and "Max" you use at the to of evaluate  icon??

Thanks

Re: Not return Value when using integral in MathCad Prime!!

$
0
0

But keep in mind that symbolic evaluations in Mathcad are very weak and cannot be compared to those of Maple or Mathematica (not even Matlab, which basically uses the same engine). If your function W(x) gets more complex or if you use if-statements or if-functions instead of the Heaviside function the symbolics will fail. On the other hand - if possible its a good idea to symbolically evaluate the integral(s) as the numerical calculation of those double integrals takes a lot of time and things can be speeded up that way.


Re: Not return Value when using integral in MathCad Prime!!

Re: Not return Value when using integral in MathCad Prime!!

$
0
0

oh ye Thanks a million for your kind helps...

Actually my another problem is always time of calculation for second integral and now i got the answer

again thanks a lot

I ham happy now

Re: Intermittent File Save Issues on Network

$
0
0

No license borrowing.  We have firmly tethered desktop machines.  License isn't dropping.   However, even if the license dropped, a message would pop up warning that the currently loaded files should be saved to disk.  This isn't happening.Mathcad is running properly and it "looks" like it is saving the file properly, but it's not actually updating the file.

 

Autosave is up to the users, but it has caused problems in the past so I believe most users run with it off.  I may have this user change his current autosave state and see if it helps.

Re: Intermittent File Save Issues on Network

Re: Export data

$
0
0

I don't have Prime 3 (but Express Prime 3.1 and 4). But I do have Mathcad 11.

You should be able to write a program like this in Prime 3 to produce a .CSV formatted file from a matrix:

Success!
Luc

Re: Export data

$
0
0

Ah, Prime (at least in version 3.1 and up) has the function WRITEFILE to write a matrix to a text or Excel file. So maybe you don't need to pragram at all.

 

Produces a file with contents:

"One"    "Two"    "Three"

1    2    3.14159265358979

-1    -2    -3.14159265358979

 

That is Tab-separated, which is also good for Excel.

 

Success!
Luc

Re: Export data

$
0
0

So probably an implementation of my WRITECSV function that better matches Prime's WRITEFILE function is:

Should anyone need this functionality in Mathcad (15 or below), it is attached.

Luc


RKfixed Help

$
0
0

Hey guys, I am attempting to solve a complex problem with rkfixed.  At the bottom of my sheet is where you will find the function.  I have my ODE defined with the variable "D", and when I run rkfixed it returns "this function cannot be used here".  I have been researching for hours with no luck to find the reason.  Can someone please help?

Re: Dropdown list

$
0
0

Hi Jeff,

 

I have tried to type into the script according to your guidance but got some error messages and gave up after all.

Anyway what I did at the end, just picked what I need from the listbox, found which element was it, then wrote this number back into the script  to the "If OnLoad Then

  ListBox.CurSel = " section.

Maybe later I will try again to set up your method, it is much sophisticated than mine

 

Thank you anyway!

 

Viktoria

Re: Problem with coding.

$
0
0

Before continuing, I would recommend you to use the units of measure for all physical quantities present in the worksheet, both constant and variable. In this way they are highlighted inconsistencies that, without such use, would not appear.

Re: RKfixed Help

$
0
0

First error i spot is at page 2 - a unit mismatch

Not sure if it it is used later and has anything to with the solve block, but I would not go any further without fixing that problem.

 

Second error I spotted is the use of the vector cross product instead of a normal multiplication

After fixing that the solve block works, but stops with the error "This value must be real". That error is not traceable. No clue what the reason could be. Maybe you'll have to check your model for inconsistencies.

Re: Solve Block for 3 eq'ns 2 unknowns for vector inputs

Viewing all 9237 articles
Browse latest View live


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