Vector dimesions are different before encoding json and after decoding json
이전 댓글 표시
Before encoding to json file the mat files are having vectors are as row vector. But after encoding (jsonencode) and decoding(jsondecode), the vectors are changed to column vectors in workspace. And I want the same dimensions after decoding also, how can I get that ?
b.c = 22;

a= jsonencode(b);
d=jsondecode(a);

댓글 수: 2
KSSV
2022년 3월 3일
You can transpose right?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 JSON Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!