필터 지우기
필터 지우기

steer and array functions did not work with my matlab

조회 수: 7 (최근 30일)
Amgad Salama
Amgad Salama 2014년 1월 11일
댓글: Amgad Salama 2014년 1월 12일
steer and array functions did not work with my matlab 7.8.0 (R2009a) when i'm trying to run this simple program
clear all clc
d=1/4; kd=2*pi*d; i = 1:5; psi = -2*kd*i/5; zi = exp(1i*psi); a = fliplr(poly(zi)); a = steer(d, a, 0); [g, ph] = array(d, a, 400); dbz(ph, g, 45, 40);
need help plz

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 1월 11일
steer is not a built-in function, get it from FEX http://www.mathworks.com/matlabcentral/fileexchange/19030-smart-antenna-systems-for-mobile- communications/content/Steer.m
  댓글 수: 3
Azzi Abdelmalek
Azzi Abdelmalek 2014년 1월 12일
You can check by typing
help array
and try to find it with google by typing : array matlab
Amgad Salama
Amgad Salama 2014년 1월 12일
How can I solve this problem? My MATLAB did not support both?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Image Analyst
Image Analyst 2014년 1월 11일
I don't know how to help you because you did not tell us what "did not work" means. Did it run but just give you some result that was not what you expect? Did it partially run and then throw an error? If so, tell us what the error is. Paste all the red text that shows up in the command window. You need to give us more to work with. Don't make us guess what "did not work" meant.
What does it say when you do this on the command line:
which -all steer
If it doesn't find it, then search your all your m-files for "steer" (with the "Find Files" button) and see if any of the lines it finds is preceded by a "function" keyword, because it might be defined inside a function rather than being a separate m-file called steer.m. If you still don't find it, then you don't have it.

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by