Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline davidlimtw  
#1 Posted : 12 January 2021 23:11:18(UTC)
davidlimtw


Rank: Member

Groups: Registered
Joined: 07/01/2021(UTC)
Posts: 27
Man
United Kingdom

Hi All,

A simple IF function to return value between a range. The equation and IF function is showing it is working. But can't manage to plot. Some tips is appreciated.

Thank

Capture6.JPG

Page3.sm (9kb) downloaded 5 time(s).

Edited by user 13 January 2021 00:27:39(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 12 January 2021 23:25:30(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
You didn't provide an argument to your function.

I also used cases() and lele() to re-write your function (this is just cosmetics, not related to the original problem)

Page3.png
Page3.sm (9kb) downloaded 14 time(s).

Edited by user 12 January 2021 23:29:04(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline davidlimtw  
#3 Posted : 12 January 2021 23:44:11(UTC)
davidlimtw


Rank: Member

Groups: Registered
Joined: 07/01/2021(UTC)
Posts: 27
Man
United Kingdom

Hi MKraska,

Thanks for the tips... such hidden function. Lucky this forum is extermely supportive.... A big KUDOS to you Martin. Cheers
Offline Jean Giraud  
#4 Posted : 13 January 2021 16:47:54(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
...

Otherwise.PNG
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.