フィルターのクリア

Using Python functions in Matlab (eigsh function)

8 ビュー (過去 30 日間)
Luqman Saleem
Luqman Saleem 2019 年 1 月 20 日
回答済み: Brian Lee 2019 年 2 月 25 日
I want to use python scipy's eigsh() function in Matlab on Windows 10.
I am using following code as an example
A=[1 0; 0 1];
py.scipy.sparse.linalg.eigsh(A)
but it is giving me this error
% Python Error: ModuleNotFoundError: No module named 'libmwbuffer'
% Python function '' might not be able to accept at least one input argument at position 1. The function may require a specific data type that you can construct from the MATLAB array. For more information, see the documentation for Python function '' and working with Python arrays.
How can I solve this problem?
Note: I know there are eig() and eigs() function in Matlab that can solve the eigenvalue problems. But I want to use Python's eigsh() function.

回答 (1 件)

Brian Lee
Brian Lee 2019 年 2 月 25 日
I am also interested in this. I want to pass an image (3-dimensional array) to a python function and receive the same error.

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by