histogram of angles in a loop

1 visualizzazione (ultimi 30 giorni)
SINDU GOKULAPATI
SINDU GOKULAPATI il 8 Mag 2021
Modificato: SINDU GOKULAPATI il 10 Mag 2021
for i=1:n
for j=1:n
angle = transpose(rnorm{i})*rnorm{j};
if angle < cosd(20)
here for every 'i' i want histogram wrt to angles
end
end
end
i need to transform the above code in such a way that for each 'i' histogram(angles) [gap of 0.5 upto 20] has to be stored
rnorm is a 3*1 matrix
urs help is highly appretiated thanks

Risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by