SMath Studio Forum
»
SMath Studio
»
Questions
»
Why I am not getting output using Range
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
Hello, Why I am not getting output column? Thank you, Basile Basile attached the following image(s):
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/02/2014(UTC) Posts: 67 Was thanked: 13 time(s) in 11 post(s)
|
You cannot divide by a vector. You must use a for loop. Also you must properly define a function with a different variable than the one you will use inside the function afterwards. When I encounter issues in smath, I think it's best to put an equal sign after each step to show the result, it's easier to trace where the issues are. File Attachment(s): Ernesto attached the following image(s):
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
Ernesto, Thank you for the help but I am expecting the result to be a vector because I make a sweep. Basile
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/02/2014(UTC) Posts: 67 Was thanked: 13 time(s) in 11 post(s)
|
My mistake. I think this is what you were looking for. File Attachment(s): Ernesto attached the following image(s):
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Why I am not getting output using Range
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.