Execution of script RISPosition as a function is not supported: C:\Users\SAFA\Documents\MATLAB\RISPosition.m Error in RISPosition (line 1) ris_pos = RISPosition(N1,N2,dris,ce
Show older comments
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
on 10 Feb 2023
0 votes
you missed the "function" keyword it appears to me
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!