Adding a column to a table
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to add a column , Position_Rating , to table T.
I would like the column to display a value of either 1, 2 or 3 depending on the If statement. I keep on getting an error "comparison between string and double is not supported".
Can anyone help me please? I have attached an image of the script.
댓글 수: 3
Kavya Vuriti
2020년 7월 1일
Hi,
What are the data types of data in columns named as "Horizontal_Travel_m" and "Vertical_Travel_m"? And in which line are you facing error?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!