help with programming

help with programming - 消息

#1 已发布: 2021/5/24 18:37:13
Jim

Jim

0个赞,共7个帖子。

组: User

hi can anybody please explain why the following does not work, and how I need to change it.............
Capture1.JPG
many thanks
#2 已发布: 2021/5/24 19:19:39
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

hi can anybody please explain why the following does not work, and how I need to change it.............
many thanks


No problem here. You have misspelled the function.
The equality for 3*4 or 4*k is next to matrix element.
It has to be next to matrix, whole of it.

Regards

COL_FOR.sm (4.49 KiB)已下载 1280 次。

2021-05-25_01-18.png
#3 已发布: 2021/5/24 19:58:27
Jim

Jim

0个赞,共7个帖子。

组: User

Thank you "overlord"..............what a basic error, I feel stupid, must need new spectacles. hehe.
#4 已发布: 2021/5/24 22:23:47
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

what a basic error, I feel stupid


No need to be. Everybody make mistake, especially if it is simple.
Feel free to ask questions. Someone shall reply, be sure of it.

Regards
#5 已发布: 2021/5/25 18:34:37
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

can anybody please explain why the following does not work


Your coding is wrong for your application,
but correct for other application(s) ... StripX(data).

2Dmatrix.PNG
#6 已发布: 2021/5/25 20:07:50
Jim

Jim

0个赞,共7个帖子。

组: User

Folks, I have another query please and am grateful for help.

As per diagram below, how do I move several lines down and create space for another equation inside my "for" loop.

Capture2.JPG
#7 已发布: 2021/5/25 20:22:23
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

Folks, I have another query please and am grateful for help.

As per diagram below, how do I move several lines down and create space for another equation inside my "for" loop.


Use your arguments separator for this.
This works also for vectors but not for matrices.

Regards

output.gif
#8 已发布: 2021/5/25 20:57:18
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

how do I move several lines down and create space



Empty.PNG
#9 已发布: 2021/5/25 21:08:54
Jim

Jim

0个赞,共7个帖子。

组: User

Wrote

Use your arguments separator for this.



thank you, but can you please clarify what exactly is the "arguments separator" ?
#10 已发布: 2021/5/25 21:12:44
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

Wrote

Use your arguments separator for this.



thank you, but can you please clarify what exactly is the "arguments separator" ?


It depends on your setting.
Its setting is under Tools > Options.
I use semicolon, default is comma I guess.

2021-05-26_03-10.png
#11 已发布: 2021/5/25 21:22:37
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

how do I move several lines/cols down/right and create space



Blank.PNG

#12 已发布: 2021/5/25 21:33:27
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Page12 Ravel Matrix.sm (9.46 KiB)已下载 1408 次。
#13 已发布: 2021/5/26 17:59:38
⠀

⠀

26个赞,共155个帖子。

组: User

Wrote

Wrote

how do I move several lines/cols down/right and create space



Blank.PNG



This is like Schrodinger's answer, both right and wrong at the same time, lol.
#14 已发布: 2021/5/26 20:07:15
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

This is like Schrodinger's answer, both right and wrong at the same time, lol.


I greatly admire that you have recognized
the long functional romance was Shrodinger lol !
Otherwise coded from Mathcad ODEsolve .

Maths Schrodinger.sm (67.54 KiB)已下载 1204 次。
  • 有新帖
  • 无新帖