conversion of single data type to double
조회 수: 12 (최근 30일)
이전 댓글 표시
please what is the best way to represent a real time single data type 10x6 to double?
S = double(Real-TData);
SLength=length(S);
representing it this way doesnt work.
댓글 수: 8
Guillaume
2020년 3월 15일
We still don't know what you're asking and what you've shown so far raises a number of questions:
- What are you trying to do?
- In what way, what you tried doesn't work? If you get an error give us the full text of the error message
- How can you have a variable named Real-TData which is not a valid variable name in matlab
In addition, you show that the variable is global. global variables are a bad idea and the source of many problems.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!