Find corresponding values to a set of conditions in a matrix.
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, i currently have this task to complete using Matlab, and i have absolutely no idea as to how i should tackle it. The question provides us with a template of data (300x4 matrix) with the columns phi, delta, velocity and pressure. It then provides us with a set of values from that matrix for phi ([0.05 0.1 0.2 0.5]) and delta([0.05 0.1 0.25 0.5 1 2 3]) and wants us to find all of the corresponding velocity and pressure values that correspond to any of these combinations of phi and delta e.g. delta_1 and phi_1,delta_1 and phi_2...delta_2 and phi_1, delta_2 and phi_2 etc).
If anyone could please help me with finding the corresponding velocity and pressure values to ANY combination, that would be greatly appreciated. (I've put a copy of the actual question just to clarify what i mean). Thanks in advance for your time!!!
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!