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 009jim  
#1 Posted : 25 May 2021 00:37:13(UTC)
009jim

Rank: Newbie

Groups: Registered
Joined: 25/05/2021(UTC)
Posts: 7
Man
Location: Australia

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

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

Offline overlord  
#2 Posted : 25 May 2021 01:19:39(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: 009jim Go to Quoted Post
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 (5kb) downloaded 12 time(s).

2021-05-25_01-18.png

Edited by user 25 May 2021 01:22:14(UTC)  | Reason: Not specified

Offline 009jim  
#3 Posted : 25 May 2021 01:58:27(UTC)
009jim

Rank: Newbie

Groups: Registered
Joined: 25/05/2021(UTC)
Posts: 7
Man
Location: Australia

Thank you "overlord"..............what a basic error, I feel stupid, must need new spectacles. hehe.
Offline overlord  
#4 Posted : 25 May 2021 04:23:47(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: 009jim Go to Quoted Post
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
Offline Jean Giraud  
#5 Posted : 26 May 2021 00:34:37(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: 009jim Go to Quoted Post
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
Offline 009jim  
#6 Posted : 26 May 2021 02:07:50(UTC)
009jim

Rank: Newbie

Groups: Registered
Joined: 25/05/2021(UTC)
Posts: 7
Man
Location: Australia

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
Offline overlord  
#7 Posted : 26 May 2021 02:22:23(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: 009jim Go to Quoted Post
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
Offline Jean Giraud  
#8 Posted : 26 May 2021 02:57:18(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: 009jim Go to Quoted Post
how do I move several lines down and create space


Empty.PNG
Offline 009jim  
#9 Posted : 26 May 2021 03:08:54(UTC)
009jim

Rank: Newbie

Groups: Registered
Joined: 25/05/2021(UTC)
Posts: 7
Man
Location: Australia

Originally Posted by: overlord Go to Quoted Post
Use your arguments separator for this.


thank you, but can you please clarify what exactly is the "arguments separator" ?
Offline overlord  
#10 Posted : 26 May 2021 03:12:44(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: 009jim Go to Quoted Post
Originally Posted by: overlord Go to Quoted Post
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
Offline Jean Giraud  
#11 Posted : 26 May 2021 03:22:37(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: 009jim Go to Quoted Post
how do I move several lines/cols down/right and create space


Blank.PNG

Offline Jean Giraud  
#12 Posted : 26 May 2021 03:33:27(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Page12 Ravel Matrix.sm (10kb) downloaded 6 time(s).
Offline wb.c  
#13 Posted : 26 May 2021 23:59:38(UTC)
wb.c


Rank: Advanced Member

Groups: Registered
Joined: 02/04/2018(UTC)
Posts: 135
United States

Was thanked: 22 time(s) in 19 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: 009jim Go to Quoted Post
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.
Offline Jean Giraud  
#14 Posted : 27 May 2021 02:07:15(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: wb.c Go to Quoted Post
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 (68kb) downloaded 7 time(s).
Users browsing this topic
Guest
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.