Input matrix must be double or logical.

I ran the python which use the function in matlab, I know that it must be the input data that caused the error. Hovever, I don't know how to solve it.I dom't know how to transfer the data to be runable. I'd appreciate it if someone could help me.
And here are the error and code:

Answers (0)

Asked:

on 14 May 2022

Edited:

on 14 May 2022

Community Treasure Hunt

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

Start Hunting!