필터 지우기
필터 지우기

change fuzzy logic toolbox output format.

조회 수: 1 (최근 30일)
Fouzan
Fouzan 2023년 11월 8일
답변: atharva 2023년 11월 9일
I have used the fuzzy logic toolbox to design my fuzzy logic.
The output that I get is a whole number but I want to get an exact value for the output.
I haven't used matlab at all. This is my first time using it. So, I don't know how to use it.
Can someone help me with changing the datatype of my output from short to long.
I've tried using chatgpt too but no help.

답변 (1개)

atharva
atharva 2023년 11월 9일
Hey Fouzan,
I understand that you are facing an issue while changing data types.
MATLAB provides a variety of functions to handle data type conversions based on your specific needs.
You can use the cast or typecast functions to convert variable to different data type.
You can learn more about the Numeric Types in below Mathworks Documentation - https://www.mathworks.com/help/matlab/numeric-types.html
I hope this helps!

카테고리

Help CenterFile Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by