Vector dimesions are different before encoding json and after decoding json
Mostra commenti meno recenti
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 Commenti
KSSV
il 3 Mar 2022
You can transpose right?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su JSON Format in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!