Is it possible to use a function of Matlab toolbox without installing the tolboox itself?
조회 수: 5 (최근 30일)
이전 댓글 표시
채택된 답변
DGM
2022년 3월 16일
편집: DGM
2022년 3월 16일
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
DGM
2022년 5월 25일
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.
추가 답변 (1개)
Cris LaPierre
2022년 3월 16일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!