1 Pages (11 items)
Pulses and Waveforms - MCad - SMath Studio - Messages
#1 Posted: 4/16/2021 5:32:09 PM
Hello SMATH Forum,
I recently came across a set of MathCad sheets, which I am attempting to extract a small sample; rectified waveform and ripple. As I am trying to reconstruct in SMath, early on, I cannot resolve a few definitions; functions "rect1(...)" and "g1hw(...).
I'm hoping someone can help. Attached is my SMath sheet and the reference MathCad15 files.
File not found.File not found.File not found.
I welcome your review and look forward to your reply.
Sincerely,
Norm
I recently came across a set of MathCad sheets, which I am attempting to extract a small sample; rectified waveform and ripple. As I am trying to reconstruct in SMath, early on, I cannot resolve a few definitions; functions "rect1(...)" and "g1hw(...).
I'm hoping someone can help. Attached is my SMath sheet and the reference MathCad15 files.
File not found.File not found.File not found.
I welcome your review and look forward to your reply.
Sincerely,
Norm
#2 Posted: 4/16/2021 6:36:17 PM
The *.sm document does not open ... PDF YES
Play with these two ... Jean
Page5 Norm.sm (20 KiB) downloaded 33 time(s).
Play with these two ... Jean
Page5 Norm.sm (20 KiB) downloaded 33 time(s).
#3 Posted: 4/16/2021 9:00:31 PM
... added numerical convolution.
From brushing the *.PDF "pulse" has no limit.
Show some you need for concluding a project.
Page5 Norm.sm (26 KiB) downloaded 40 time(s).
From brushing the *.PDF "pulse" has no limit.
Show some you need for concluding a project.
Page5 Norm.sm (26 KiB) downloaded 40 time(s).
#4 Posted: 4/16/2021 10:07:11 PM
Pulses and Waveforms work in progress.sm (679 KiB) downloaded 44 time(s).
Thanks Jean! I hope the attached works now.
The function g1hw fails. The comment "k - not defined". Hopefully, the attached pdf of my fist page give you an idea. Pulses and Waveforms work in progress - nas.pdf (129 KiB) downloaded 38 time(s).
Best regards,
Norm
Thanks Jean! I hope the attached works now.
The function g1hw fails. The comment "k - not defined". Hopefully, the attached pdf of my fist page give you an idea. Pulses and Waveforms work in progress - nas.pdf (129 KiB) downloaded 38 time(s).
Best regards,
Norm
#5 Posted: 4/16/2021 10:42:57 PM
Hi Norm. Some few notes:
- For speed up the code, you must to put at some places some eval() in SMath.
- Some vectorization are automatics in Mathcad, but not in SMath. Here you can use the index nk instead implicit or explicit vectorization, as shows the picture.
- N0.gc is 2^8, and it is for use as the finite index for fast Fourier sums, but it's too big for SMath. Use something lower.
- T.hw is undefined in you worksheet.

Best regards.
Alvaro.
- For speed up the code, you must to put at some places some eval() in SMath.
- Some vectorization are automatics in Mathcad, but not in SMath. Here you can use the index nk instead implicit or explicit vectorization, as shows the picture.
- N0.gc is 2^8, and it is for use as the finite index for fast Fourier sums, but it's too big for SMath. Use something lower.
- T.hw is undefined in you worksheet.
Best regards.
Alvaro.
#6 Posted: 4/17/2021 9:39:55 AM
#7 Posted: 4/17/2021 5:57:22 PM
Many thanks Alvaro & Jean,
As always, I appreciate your high-level knowledge using this fantastic tool!
Stay safe and take care.
Sincerely,
Norm
As always, I appreciate your high-level knowledge using this fantastic tool!
Stay safe and take care.
Sincerely,
Norm
#8 Posted: 6/1/2021 7:39:35 PM
Work in progress...
I gave up on the MathCad "Pulses and Waveforms" conversion.
The attached sheet is not complete, just my attempts at the graphs thus-far. I'll need to spend some time working in the diodes conduction range.
Anyway, using the discharge profile looks close, not correct, but has a close resemblance.
Best regards,
Norm
Single-phase full-wave bridge rectifier circuit with C-filter and resistive load.sm (338 KiB) downloaded 47 time(s).
I gave up on the MathCad "Pulses and Waveforms" conversion.
The attached sheet is not complete, just my attempts at the graphs thus-far. I'll need to spend some time working in the diodes conduction range.
Anyway, using the discharge profile looks close, not correct, but has a close resemblance.
Best regards,
Norm
Single-phase full-wave bridge rectifier circuit with C-filter and resistive load.sm (338 KiB) downloaded 47 time(s).
#9 Posted: 6/2/2021 1:06:59 PM
WroteI gave up on the MathCad "Pulses and Waveforms" conversion.
This one is above my head.
On the other hand, Smath depends largely upon "plugins"
and they don't behave all same, i.e: Fourier stuff.
In the mean time, you can visit these 4 examples.
Cheers ... Jean.
Convolution RC 6179.sm (13 KiB) downloaded 40 time(s).
Convolution Numerical [Pulse model].sm (26 KiB) downloaded 34 time(s).
Convolution Pulse Integration.sm (31 KiB) downloaded 45 time(s).
Laplace Admittance Analyzer.sm (1 MiB) downloaded 37 time(s).
#10 Posted: 6/2/2021 6:55:11 PM
#11 Posted: 6/2/2021 7:53:24 PM
Thanks Jean! I'll look at this.
Best regards,
Norm
Best regards,
Norm
1 Pages (11 items)
-
New Posts
-
No New Posts