  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
|
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
 2 users thanked uni for this useful post.
|
on 22/02/2014(UTC), on 27/02/2014(UTC)
|
|
  Rank: Advanced Member Groups: Registered
Joined: 22/02/2014(UTC) Posts: 85
Was thanked: 13 time(s) in 12 post(s)
|
Hi Uni, For some reason, I always have the same error, using mwfprintf() function. It looks the same on both 32-bit and 64-bit Windows. Could you explain what is wrong here ? Edited by user 28 February 2014 00:17:45(UTC)
| Reason: Not specified tomtit attached the following image(s):
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
Hi Igor.
There is a log.txt in the plugin directory: \extensions\plugins\4c2faab1-4d93-4904-8d88-a4e21512d179\1.0.4987.26944\ If you look at the contents, you will see errors when working with functions.
In this case, we see a problem in converting the operation result. Probably something has changed in the SMath Studio and my examples stopped working correctly.
mwfprint() works fine, but you need to set the current folder or absolute path. The error occurs after running the function while trying to return the result of work in bytes.
I will try to fix the error, if I can. Now I don't have the latest source. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
|
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
Originally Posted by: tomtit  Hi Uni, For some reason, I always have the same error, using mwfprintf() function. It looks the same on both 32-bit and 64-bit Windows. Could you explain what is wrong here ? Updated. Try now (with SMathStudio_Desktop_0.97.5189_32bit.exe for 64-bit). Edited by user 11 April 2014 22:01:14(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 25/09/2013(UTC) Posts: 330  Location: IL Was thanked: 19 time(s) in 17 post(s)
|
I'm curios to know - There is a plugin for using Maxima and a plugin to use Matlab/C++, is there advantage to starting using one over another? I mean is one more/less powerful. Is one better with units or symbolic?
Thanks!
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
Updated. mwfscanf() now working too. Relative path also works. Strings as parameters not supported for now.  Originally Posted by: RFreund  I'm curios to know - There is a plugin for using Maxima and a plugin to use Matlab/C++, is there advantage to starting using one over another? I mean is one more/less powerful. Is one better with units or symbolic?
Thanks! You can get these plugins from the Extensions Manager (I don't know how it called in english). They are very different. Matlab C++ Math Library - just a numeric library, not symbolic. Full description you can get from the MATLAB C++ Math Library. User's Guide. Version 2.1.pdf. Also, no need to install Matlab. Edited by user 12 April 2014 10:42:39(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 post(s)
|
Originally Posted by: RFreund  I'm curios to know - There is a plugin for using Maxima and a plugin to use Matlab/C++, is there advantage to starting using one over another? I mean is one more/less powerful. Is one better with units or symbolic? Advantages of the matlab lib plugin: - more functions
- more uniform and consistent function interface
- better documentation (you can use original matlab docs in the web )
- easy installation (just download the plugin)
- certainly more performant numerics (did not benchmark this)
Advantages of the Maxima plugin - symbolic math
- units handling
- safe legal status
- graphics functions (matlab has better ones, but they are not exposed to SMath in the plugin)
|
|
 1 user thanked mkraska for this useful post.
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 25/09/2013(UTC) Posts: 330  Location: IL Was thanked: 19 time(s) in 17 post(s)
|
|
|
|
|
 Rank: Newbie
Groups: Registered
Joined: 24/02/2014(UTC) Posts: 4  
|
   Hi Uni, I would use the svd-function from the matlab c++ Math Library. But the function is not available. Thanks and best regards Dr. Parnassus attached the following image(s):
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
The fact is that not all functions realized. Only blue ones with the mw prefix exist. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
Updated. svd() added, but I'm not shure about how it works (correctly or not). uni attached the following image(s): |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
  Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740   Was thanked: 319 time(s) in 268 post(s)
|
I think something is wrong here. U matrix has extra column and S matrix should bi diagonal.
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
Matlab svd example. S - transposed (I don't know why). uni attached the following image(s): |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
Updated. svd() fixed. Edited by user 02 August 2014 12:11:25(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
 1 user thanked uni for this useful post.
|
|
|
  Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740   Was thanked: 319 time(s) in 268 post(s)
|
I see. Thank you uni. I thought on [U,S,V] = svd(X,0) only.
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
 Rank: Newbie
Groups: Registered
Joined: 24/02/2014(UTC) Posts: 4  
|
Thank`s uni! Now I can continue my work in smath. I will close matlab at once :-) - best regards.
|
|
|
|
  Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740   Was thanked: 319 time(s) in 268 post(s)
|
By the way, there is Dot Numerics plugin - by uni  Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
 Rank: Newbie
Groups: Registered
Joined: 26/09/2014(UTC) Posts: 2 Location: Саратов
|
Что обозначает в заглавном посте зеленый и синий цвет функций. Зеленые smath не "видит". Как заставить его их увидеть? Спасибо. Edited by user 26 September 2014 10:17:43(UTC)
| Reason: Not specified
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,641   Was thanked: 1400 time(s) in 817 post(s)
|
Originally Posted by: idushy  Что обозначает в заглавном посте зеленый и синий цвет функций. Зеленые smath не "видит". Как заставить его их увидеть? Спасибо. Синие с префиксом mw реализованы, остальные ещё нет (по запросу), поэтому они не видны. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
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.