You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for your work. I really appreciate it.
However, you make use of the function vec2mat, which requires the Communications System Toolbox. Since not all people have it installed I believe (like me), it may be a good idea to replace the function with reshape (built-in and I think also faster). E.g.,
p = reshape(p, 3, []);
v = reshape(v, 3, []);
a = reshape(a, 3, []);
a(:,:,i) = reshape(ai', 3, []);
p(:,:,i) = reshape(pi, 3, []);
v(:,:,i) = reshape(vi, 3, []);
I changed all respective lines and got good results. What do you think?
Otherwise, thank you for sharing your code. It helped me a lot.
Best regards
Felix
The text was updated successfully, but these errors were encountered:
Hi Felix,
Thank you for contacting me and apologies for the delayed response.
Indeed, that's a good alternative. I didn't realize the function belonged
to a non-stock toolbox of MATLAB.
If you feel like it, you can create a pull request with the changes and
I'll merge it.
Best,
Carlos
On Sat, 5 Oct 2019 at 15:45, Felix Büttner ***@***.***> wrote:
Hey,
Thank you so much for your work. I really appreciate it.
However, you make use of the function *vec2mat*, which requires the *Communications
System Toolbox*. Since not all people have it installed I believe (like
me), it may be a good idea to replace the function with *reshape*
(built-in and I think also faster). E.g.,
p = reshape(p, 3, []);
v = reshape(v, 3, []);
a = reshape(a, 3, []);
a(:,:,i) = reshape(ai', 3, []);
p(:,:,i) = reshape(pi, 3, []);
v(:,:,i) = reshape(vi, 3, []);
I changed all respective lines and got good results. What do you think?
Otherwise, thank you for sharing your code. It helped me a lot.
Best regards
Felix
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD235DC2HCGPHGQUUEO3NSDQNCK57ANCNFSM4I5XZHDA>
.
Hey,
Thank you so much for your work. I really appreciate it.
However, you make use of the function vec2mat, which requires the Communications System Toolbox. Since not all people have it installed I believe (like me), it may be a good idea to replace the function with reshape (built-in and I think also faster). E.g.,
I changed all respective lines and got good results. What do you think?
Otherwise, thank you for sharing your code. It helped me a lot.
Best regards
Felix
The text was updated successfully, but these errors were encountered: