Is it possible to use a function of Matlab toolbox without installing the tolboox itself?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi guys,
I need to use the function "wrapTo360" but I want to avoid installing the "Mapping toolbox".
Is it possible or do I have necessarily install the toolbox?
Thank you in advance!
0 Kommentare
Akzeptierte Antwort
DGM
am 16 Mär. 2022
Bearbeitet: DGM
am 16 Mär. 2022
You can just use basic tools to wrap angles.
A = -360:40:360
B1 = wrapTo360(A)
B2 = mod(A,360);
mask = A>0 & B2==0;
B2(mask) = 360
4 Kommentare
DGM
am 25 Mai 2022
That's up to you to decide. I'm not familiar with using wrapto360() in its intended applications, so I don't know if that little detail is important for some particular reason. If you're trying to use code that was written around using wrapto360(), I'd probably try to replicate its behavior unless I were certain that I didn't need it. It seems like a negligible compromise to make.
Weitere Antworten (1)
Cris LaPierre
am 16 Mär. 2022
You would need to install the toolbox to have access to the functions it contains.
If you have access to MATLAB Online, you could try running your code there. All toolboxes you have access to are pre-loaded for you.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!