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 trip2015  
#1 Posted : 04 July 2020 08:00:34(UTC)
trip2015

Rank: Newbie

Groups: Registered
Joined: 04/07/2020(UTC)
Posts: 4
Man
United States
Location: Charlotte

Function of a range variable.png

I have looked into vectorizing and tried cross product but I can't figure out how to return a matrix (and eventually a graph) of the function that is a dependent on the variable twall. Any help is appreciated. I'm trying to save money by using this program but it is harder than MathCAD to figure out the errors.

Trip

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

Offline PompelmoTell  
#2 Posted : 04 July 2020 12:24:48(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 318
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
Try like this
SMathStudio_Desktop_CkSSfGubM9.png
sergio
Offline trip2015  
#3 Posted : 04 July 2020 13:03:51(UTC)
trip2015

Rank: Newbie

Groups: Registered
Joined: 04/07/2020(UTC)
Posts: 4
Man
United States
Location: Charlotte

So I was able to do for the example but now I can't remember the keystrokes to get:

twall:="0,1;0,2..1"

The part in quotes is where I'm stuck. When I try to type a comma, nothing happens. I can't type 0 and then a comma or 0 and then a semi-colon. I can only type one period. I'm just missing some simple thing to generate what you show.

I'll keep checking back to my email for this thread. Thanks for reaching out.

Trip
Offline PompelmoTell  
#4 Posted : 04 July 2020 13:09:19(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 318
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
Use the range function.
Also remember that based on some options related to the set country, they lead to different use of the comma of the period and the semicolon
sergio
Offline trip2015  
#5 Posted : 04 July 2020 13:10:52(UTC)
trip2015

Rank: Newbie

Groups: Registered
Joined: 04/07/2020(UTC)
Posts: 4
Man
United States
Location: Charlotte

Now I re-found the range operator here:

Range variable.png
Offline trip2015  
#6 Posted : 04 July 2020 13:23:48(UTC)
trip2015

Rank: Newbie

Groups: Registered
Joined: 04/07/2020(UTC)
Posts: 4
Man
United States
Location: Charlotte

error 2.pngerror 1.png

I follow your keystrokes but I get error messages for the function I define and for the vectorized function. Any ideas?
Offline Jean Giraud  
#7 Posted : 04 July 2020 14:47:23(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)
Originally Posted by: trip2015 Go to Quoted Post
Now I re-found the range operator here

or type coma select first place holder.

range.PNG
Offline Razonar  
#8 Posted : 05 July 2020 18:11:48(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: trip2015 Go to Quoted Post

I follow your keystrokes but I get error messages for the function I define and for the vectorized function. Any ideas?


Hi Trip. It seems that you are using matrices subscripts instead dot subscript in the variable t. This make that sigma isn't well defined, and thus can't be vectorized. If you upload your file I'm sure that someone can tell you what's wrong.

Best regards.
Alvaro.
Offline Jean Giraud  
#9 Posted : 05 July 2020 20:48:58(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)
If you just want it to work ... Jean

rangeUNK.sm (9kb) downloaded 113 time(s).
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.