How to find the position index of vector array
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have meshgrid on X1 and and Y1 but I have attached only the X1 and x1 and y1 files
l=6.6667e-6, l is a line that divides the X1 grid into 2 equal part.
I have been able to plot this using the code below, which exactly what I wanted.
A = (X! >= -l/2 & X <= l/2);
imagesc(x, y, A)
Please, how can find position of -l/2 and l/2 ?
3 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!