Rank: Member Groups: Registered
Joined: 15/03/2018(UTC) Posts: 23 Location: Hamilton Was thanked: 1 time(s) in 1 post(s)
|
Hi,
I am trying to to the following:
n:=[1..1200]
s(n):=(1200-n)/1200
I(n):200/(1+2/s(n))
"I get an error divisor matrix must be square"
any suggestions???
Regards, Vijay
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Vijay I am trying to do the following: For God sake: what are you trying to do ?
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2018(UTC) Posts: 23 Location: Hamilton Was thanked: 1 time(s) in 1 post(s)
|
Thank you for the response, I am new to this forum, is there a way I can send a .pdf file of the work I had done in MathCad, this will help you see what I am trying to do in Smath. Vijay
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Vijay Thank you for the response, I am new to this forum, is there a way I can send a .pdf file of the work I had done in MathCad, this will help you see what I am trying to do in Smath. Vijay Try this much easier: 1. compact as much as you can your part of Mathcad 2. PrintScreen, paste in Paint, clean 3. In your C:\ ... create a directory "Snippets" 4. Try to save your Paint as *.PNG in your "Snippets" 5. then => add file from the Smath forum by double click on the *.PNG in the Snippets directory.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
you divide by a vector. If you want to apply that by element, then use the vectorize operator. Alternatively, you can use implicit loops. In any case make sure that you don't divide by zero. To upload images or files, use the paperclip button ("Insert an existing...." ) matrix2.sm (20kb) downloaded 37 time(s). |
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2018(UTC) Posts: 23 Location: Hamilton Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: Vijay Thank you for the response, I am new to this forum, is there a way I can send a .pdf file of the work I had done in MathCad, this will help you see what I am trying to do in Smath. Vijay Try this much easier: 1. compact as much as you can your part of Mathcad 2. PrintScreen, paste in Paint, clean 3. In your C:\ ... create a directory "Snippets" 4. Try to save your Paint as *.PNG in your "Snippets" 5. then => add file from the Smath forum by double click on the *.PNG in the Snippets directory.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Too many parameters are missing to reproduce r1, r2, E, x [u in Smath ... back to x in plot]
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2018(UTC) Posts: 23 Location: Hamilton Was thanked: 1 time(s) in 1 post(s)
|
Thank you for your efforts, that's what I am looking for. I am resending the data with all the information. I have a few questions on your previous post, there is an arrow above 2/s and I(u)^2.What is that function. Also, you have used the value of u = 13.5? Also, when you plot the graph, did you just type T(13.5) to get the graph?
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Vijay Thank you for your efforts, that's what I am looking for. I am re-sending the data with all the information. I have a few questions on your previous post, there is an arrow above 2/s and I(u)^2. What is that function. Also, you have used the value of u = 13.5? Also, when you plot the graph, did you just type T(13.5) to get the graph? 1. The arrow is the vectorising operator [same as Mathcad]. 2. 'u' is the wild parameter of same nature as r1,r2 3. The system runs over 'n' taken into account wrt the vectorised arguments. 4. Shift@ to get the plot region, type T(13.5) then [ to get the index operator then type x. The Smath plot argument is 'x'. So, by indexing, it will plot over the running 'x'. If you want to plot ln(x), just type ln(x) in the plot place holder. I will try to code your latest information, but busy next three days.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud I will try to code your latest information Now, you have another story [a different project]. Vijay(1).sm (27kb) downloaded 32 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,653 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
starting from the basics, hope it might help you example.sm (18kb) downloaded 115 time(s).Edited by user 16 March 2018 13:53:26(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2018(UTC) Posts: 23 Location: Hamilton Was thanked: 1 time(s) in 1 post(s)
|
Thank you so much, this really helps. May I suggest you post this as an example so everyone can benefit. Regards, Vijay Khatri
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2018(UTC) Posts: 23 Location: Hamilton Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: Jean Giraud I will try to code your latest information Now, you have another story [a different project]. Vijay(1).sm (27kb) downloaded 32 time(s). Thank you, you have given me ideas that I can try to implement. Edited by moderator 08 April 2018 13:57:51(UTC)
| Reason: marked as SOLVED
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Back to original. Vijay(1).sm (8kb) downloaded 20 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Vijay May I suggest you post this as an example so everyone can You can mine Smath by visiting "Samples". Without the circuit, it looks dead.
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2018(UTC) Posts: 23 Location: Hamilton Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: Vijay May I suggest you post this as an example so everyone can You can mine Smath by visiting "Samples". Without the circuit, it looks dead. Attached is another similar file for which I have included the circuit diagram. I am assuming this will be posted in samples in this foroum.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 308
Was thanked: 77 time(s) in 58 post(s)
|
Something like this? Vijay_CBG_Jean.sm (14kb) downloaded 25 time(s).Best Regards Carlos
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Vijay May I suggest you post this as an example Visit => Samples => Motor Analysis [20180316, 19:52] Drawing was sharpened to the possible limit, if you have a better one, please offer. Jean
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2018(UTC) Posts: 23 Location: Hamilton Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: CBG Something like this? Vijay_CBG_Jean.sm (14kb) downloaded 25 time(s).Best Regards Carlos Thank you Carlos, just one question, how did you create the vertical line with multiple entries.
|
|
|
|
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.