Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- There are too many ranges variables

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-19-2020
11:53 PM

10-19-2020
11:53 PM

Hello everyone,

In scenario 4, I got everything correctly. However, when I tried to graph the plot. There were an issue with "too many range variables".

I read some posts that recommend to change the number of points. However, it was invisible to click on. Would you guys please help me with this?

Thank you so much

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
11:23 AM

10-20-2020
11:23 AM

You still have the wrong definition of sigma! You compare 0.5*1 with 0.5K and the result is zero (because they are not equal) and this zero is assigned sigma. Your sigma is zero! Give it a try. Furthermore in the definition of y.n you used sigma as if it were a function.

And the way you defined and used x.n your "noisy" signal would have used the very same random number for every time - not very noisy 😉

Here is a way to do it. Do you really mean T.n to be 0 (zero what - K, °F, Delta°F,..?) for times smaller than 2 minutes? You may replace the 0 by NaN (which suppresses plotting) or by Tsf(2 min).

10 REPLIES 10

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
12:26 AM

10-20-2020
12:26 AM

Re: There are too many ranges variables

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
12:30 AM

10-20-2020
12:30 AM

Re: There are too many ranges variables

Do you have any recommendation for this? 😞 The Tsf was calculated in scenario 3. I'm not sure why the Tn(ti) doesn't work

Highlighted
##

Martin Hanák

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
01:24 AM

10-20-2020
01:24 AM

Re: There are too many ranges variables

Martin Hanák

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
01:58 AM

10-20-2020
01:58 AM

Re: There are too many ranges variables

Hello Martin,

Sigma unit is K so yn is also K. I have added the unit to K and Tn(i) still doesnt work. It probably because of my the function or something.

thank you so much for the feedback

Highlighted
##

Martin Hanák

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
02:01 AM

10-20-2020
02:01 AM

Re: There are too many ranges variables

Hi,

you must define yn as function !!!

Martin Hanák

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
10:40 AM

10-20-2020
10:40 AM

Re: There are too many ranges variables

Looking for something like this?

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
10:53 AM

10-20-2020
10:53 AM

Re: There are too many ranges variables

Hello,

it looks really good. But the Tn is T noise so it would start at 2 and the time interval is ti = 2,3...99. I have some new updated here.

You are life saver for sure 🙂

Thank you so much.

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
11:23 AM

10-20-2020
11:23 AM

You still have the wrong definition of sigma! You compare 0.5*1 with 0.5K and the result is zero (because they are not equal) and this zero is assigned sigma. Your sigma is zero! Give it a try. Furthermore in the definition of y.n you used sigma as if it were a function.

And the way you defined and used x.n your "noisy" signal would have used the very same random number for every time - not very noisy 😉

Here is a way to do it. Do you really mean T.n to be 0 (zero what - K, °F, Delta°F,..?) for times smaller than 2 minutes? You may replace the 0 by NaN (which suppresses plotting) or by Tsf(2 min).

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
11:33 AM

10-20-2020
11:33 AM

Re: There are too many ranges variables

Hello,

Got it. I'm working on it again now. I mean at Tn won't generate the first signal at 2mins. so from 0-2 mins, Tsf is the actual sensor temperature (Tsf).

I think the issue here is t(time) range, because the Tn will send the mixed signal at t=2min while Tsf start at 1min. I also attached the picture that I supposed ti generate

Thank you so much

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-20-2020
11:44 AM

10-20-2020
11:44 AM

Re: There are too many ranges variables

i GOT ITTTTTT. We just need to graph this with ti not t. yayayayayayayya