필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to do this efficiently?

조회 수: 1 (최근 30일)
Pinpress
Pinpress 2012년 7월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I have a number of (>30k) 3D curved lines stored in a cell. They are of different lengths. What would be the best way to find out whether each one goes through a rectangular bounding box? With a for loop, it seems to be slow.
Thanks.
  댓글 수: 2
per isakson
per isakson 2012년 7월 31일
Do you have a working solution based on a for loop?
I don't think the for loop can be the problem. Do you have a growing variable in the loop?
Jan
Jan 2012년 7월 31일
편집: Jan 2012년 7월 31일
Please post your code. Otherwise suggestions for improvements are based on guessing.

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by