Vector dimesions are different before encoding json and after decoding json
Ältere Kommentare anzeigen
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 Kommentare
KSSV
am 3 Mär. 2022
You can transpose right?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu JSON Format finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!