Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting rid of the Communications System Toolbox #2

Open
bttner opened this issue Oct 5, 2019 · 1 comment
Open

Getting rid of the Communications System Toolbox #2

bttner opened this issue Oct 5, 2019 · 1 comment

Comments

@bttner
Copy link

bttner commented Oct 5, 2019

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

@carlosluis
Copy link
Owner

carlosluis commented Oct 8, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants