Vector dimesions are different before encoding json and after decoding json
Mostrar comentarios más antiguos
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 comentarios
KSSV
el 3 de Mzo. de 2022
You can transpose right?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre JSON Format en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!