필터 지우기
필터 지우기

I have a data which include point numbers, y_error and x_error belongs to point numbers (mx3 matrix) point numbers are string other values are double. I wanna check whether errors are exceeding particular number and I wanna show which point.

조회 수: 1 (최근 30일)
for example;
point numbers=[a;b;c;...]
errors_y=[0.4;0.52;0.25;...]
errors_x=[0.4;0.33;0.51;...]
I wanna check and see which points errors exceeding 0.5, what kind of loop I have to write?

채택된 답변

David Sanchez
David Sanchez 2013년 5월 22일
Use find function. In the example below, b contains the positions of elements greater than 0.5 within array a.
a=[.1 .3 .5 .6 .7];
b = find(a>0.5)
b =
4 5

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Smoothing and Denoising에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by