Why I am not getting output using Range

Why I am not getting output using Range - 消息

#1 已发布: 2015/9/24 16:51:55
Basile

Basile

8个赞,共172个帖子。

组: User

Hello,

Why I am not getting output column?

Thank you,
Basile
Untitled.png
#2 已发布: 2015/9/24 20:16:24
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

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.
Capture.PNG
#3 已发布: 2015/9/24 22:00:05
Basile

Basile

8个赞,共172个帖子。

组: User

Ernesto,
Thank you for the help but I am expecting the result to be a vector because I make a sweep.
Basile
#4 已发布: 2015/9/25 00:56:26
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

My mistake. I think this is what you were looking for.
Capture.PNG
#5 已发布: 2015/9/25 05:01:43
Basile

Basile

8个赞,共172个帖子。

组: User

Yes,

Thank you,
Basile
  • 有新帖
  • 无新帖