Clear Filters
Clear Filters

Execution of script RISPosition as a function is not supported: C:\Users\S​AFA\Docume​nts\MATLAB​\RISPositi​on.m Error in RISPosition (line 1) ris_pos = RISPositio​n(N1,N2,dr​is,ce

2 views (last 30 days)
ris_pos = RISPosition(N1,N2,dris,center);
a = repmat(ris_pos{1},N1,1); % Placing RIS elements in proper coordinates
ris_arr(1,:) = a(:)';
ris_arr(2,:) = zeros(1,Nris);
ris_arr(3,:) = repmat(ris_pos{2},1,N2);

Answers (1)

Walter Roberson
Walter Roberson on 10 Feb 2023
you missed the "function" keyword it appears to me

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!