help with programming

help with programming - Messages

#1 Posted: 5/24/2021 6:37:13 PM
Jim

Jim

0 likes in 7 posts.

Group: User

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

overlord

552 likes in 1332 posts.

Group: 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 KiB) downloaded 29 time(s).

2021-05-25_01-18.png
#3 Posted: 5/24/2021 7:58:27 PM
Jim

Jim

0 likes in 7 posts.

Group: User

Thank you "overlord"..............what a basic error, I feel stupid, must need new spectacles. hehe.
#4 Posted: 5/24/2021 10:23:47 PM
overlord

overlord

552 likes in 1332 posts.

Group: 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 Posted: 5/25/2021 6:34:37 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 5/25/2021 8:07:50 PM
Jim

Jim

0 likes in 7 posts.

Group: 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 Posted: 5/25/2021 8:22:23 PM
overlord

overlord

552 likes in 1332 posts.

Group: 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 Posted: 5/25/2021 8:57:18 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

how do I move several lines down and create space



Empty.PNG
#9 Posted: 5/25/2021 9:08:54 PM
Jim

Jim

0 likes in 7 posts.

Group: User

Wrote

Use your arguments separator for this.



thank you, but can you please clarify what exactly is the "arguments separator" ?
#10 Posted: 5/25/2021 9:12:44 PM
overlord

overlord

552 likes in 1332 posts.

Group: 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 Posted: 5/25/2021 9:22:37 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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



Blank.PNG

#12 Posted: 5/25/2021 9:33:27 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Page12 Ravel Matrix.sm (9 KiB) downloaded 28 time(s).
#13 Posted: 5/26/2021 5:59:38 PM
Wesly Centerwall

Wesly Centerwall

26 likes in 156 posts.

Group: 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 Posted: 5/26/2021 8:07:15 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 30 time(s).
  • New Posts New Posts
  • No New Posts No New Posts