quaterions to string in matlab
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
AMAL targhi
am 7 Jun. 2016
Beantwortet: James Tursa
am 8 Jun. 2016
i need a function like num2str for quaterions in matlab u can help me
2 Kommentare
James Tursa
am 7 Jun. 2016
Bearbeitet: James Tursa
am 7 Jun. 2016
How are your quaternions stored? Can you give an example of an input and desired output?
Akzeptierte Antwort
James Tursa
am 8 Jun. 2016
I still don't know how your quaternions are stored. Maybe a class object? However, one thing you might try is converting it to a double first before calling num2str. E.g., if network.sumsqrerr(n) is a quaternion, then maybe try this formulation:
num2str(double(network.sumsqrerr(n)) / size(inputs, 2))
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!