Matlab Runtime Library

Matlab Runtime Library - Consists of approximately 400 Matlab math functions - Messages

#41 Posted: 2/22/2014 6:30:19 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Davide Carpi 2/22/2014 7:58:00 AM, Igor Skarine 2/27/2014 10:59:00 AM
#42 Posted: 2/27/2014 1:54:13 PM
Igor Skarine

Igor Skarine

14 likes in 97 posts.

Group: User

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 ?
mwfprintf.sm.png
#43 Posted: 2/27/2014 5:45:27 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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, Viacheslav N. Mezentsev
#44 Posted: 3/17/2014 8:01:41 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Russia ☭ forever, Viacheslav N. Mezentsev
#45 Posted: 4/11/2014 2:55:34 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Wrote

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).
Russia ☭ forever, Viacheslav N. Mezentsev
#46 Posted: 4/11/2014 6:52:17 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

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!
#47 Posted: 4/12/2014 2:11:10 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Updated. mwfscanf() now working too. Relative path also works. Strings as parameters not supported for now.

[albumimg]281[/albumimg]

Wrote

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.
Russia ☭ forever, Viacheslav N. Mezentsev
#48 Posted: 4/12/2014 5:34:42 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

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)



Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
#49 Posted: 4/14/2014 11:08:55 AM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

Thank you Martin and Uni
#50 Posted: 7/18/2014 5:32:40 AM
Dr. Parnassus

Dr. Parnassus

0 likes in 5 posts.

Group: User

Hi Uni,

I would use the svd-function from the matlab c++ Math Library.
But the function is not available.


Thanks and best regards

svd.bmp
#51 Posted: 7/18/2014 10:34:06 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

The fact is that not all functions realized. Only blue ones with the mw prefix exist.
Russia ☭ forever, Viacheslav N. Mezentsev
#52 Posted: 7/27/2014 7:17:40 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Updated. svd() added, but I'm not shure about how it works (correctly or not).
2014-07-27 17-17-02 SMath Studio Desktop - [Лист1 ].png
Russia ☭ forever, Viacheslav N. Mezentsev
#53 Posted: 7/27/2014 8:38:32 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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!"
#54 Posted: 7/27/2014 8:55:26 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Matlab svd example. S - transposed (I don't know why).
2014-07-27 18-54-14 SMath Studio Desktop - [Лист3 ].png
Russia ☭ forever, Viacheslav N. Mezentsev
#55 Posted: 7/27/2014 9:15:38 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Updated. svd() fixed.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Radovan Omorjan 7/27/2014 9:26:00 AM
#56 Posted: 7/27/2014 9:28:48 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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!"
#57 Posted: 7/30/2014 2:08:50 AM
Dr. Parnassus

Dr. Parnassus

0 likes in 5 posts.

Group: User

Thank`s uni! Now I can continue my work in smath.
I will close matlab at once :-) - best regards.
#58 Posted: 7/30/2014 6:51:59 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

By the way, there is Dot Numerics plugin - by uni

[albumimg]358[/albumimg]

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#59 Posted: 9/26/2014 3:01:58 AM
idushy

idushy

0 likes in 18 posts.

Group: User

Что обозначает в заглавном посте зеленый и синий цвет функций. Зеленые smath не "видит". Как заставить его их увидеть? Спасибо.
#60 Posted: 9/26/2014 8:23:01 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Wrote

Что обозначает в заглавном посте зеленый и синий цвет функций. Зеленые smath не "видит". Как заставить его их увидеть? Спасибо.



Синие с префиксом mw реализованы, остальные ещё нет (по запросу), поэтому они не видны.

Russia ☭ forever, Viacheslav N. Mezentsev
  • New Posts New Posts
  • No New Posts No New Posts