understanding and converting two matlab function to c++/c code
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi guys
could anyone please tell me what those three attached matlab functions does? and how I can implement them in c++ ? I mean to implement the same function concept to c++.
ismember.
find .
de2bi(argument1, argument2, 'left-msb').
thanks alot!
댓글 수: 0
답변 (2개)
Image Analyst
2020년 11월 29일
If you search on the help for those functions, you'll find a description of what they do.
If you have the MATLAB Coder toolbox, you can convert your program to C. I don't have that toolbox so I can't help you with that.
댓글 수: 0
John D'Errico
2020년 11월 29일
You could read the documentation for thse functions. In there, you will find a complete explanation of what those codes do. The explanation you will find there will be complete, better and more accurate than what anywone would write here quickly.
help find
help ismember
help de2bi
Or, better yet,
doc find
doc ismember
doc de2bi
And if you cannot access MATLAB, then just read the online documentation. Here are the respective links:
How you should implement them in another language is surely your choice. We won't write the code for you.
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!