Index in position 1 exceeds array bounds (must not exceed 1).
2 views (last 30 days)
Show older comments
clc
clear all
close all
path = 'H:\radition';
Date= importdata([path '\radd.csv']);
dB = Date(1:360,3);
% pol_1 = 10*log10(Data(1:121,3)./max(Data(1:121,3)));
Theta = Data(1:361,1)*pi/180;
dB = dB-min(dB);
polarplot (Theta,(dB/50))
hold on
2 Comments
Atsushi Ueno
on 19 May 2023
Moved: Atsushi Ueno
on 19 May 2023
Theta (B1:B360) looks like only 90[deg] or 270[deg].
Date= importdata('radd.csv')
dB = Date.data(1:360,3);
% pol_1 = 10*log10(Data(1:121,3)./max(Data(1:121,3)));
Theta = Date.data(1:360,1)*pi/180;
dB = dB-min(dB);
polarplot (Theta,(dB/50))
hold on
Answers (1)
KSSV
on 19 May 2023
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1388229/radd.csv') ;
dB = T.(3) ;
% pol_1 = 10*log10(Data(1:121,3)./max(Data(1:121,3)));
Theta = T.(1)*pi/180;
dB = dB-min(dB);
polarplot (Theta,(dB/50))
3 Comments
See Also
Categories
Find more on Matrix Indexing 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!