photo

Spencer Checkoway


Last seen: circa 4 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

  • Thankful Level 2
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


Why does the second matrix start with zeros?
for i=-10:10 if i<0 a(i+11)=i; if i>0 b(i+10)=i; end end end Out of curiosity, why, if ...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to relate x and y coordinate matrices to points on a larger matrix of zeroes?
x=zeros(1000); %creates a 100x100 zeros matrix numRandom = 10; % Generate 10 random locations... xli = ceil(sqrt(numel(x)) * r...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


Why do I get "array indices must be positive integers or logical values" when running this for loop?
i_theta_max =100; for i_theta = 0:i_theta_max theta = i_theta/(i_theta_max)*2*pi; xcoord(i_theta)=1*sin(theta); ...

oltre 4 anni fa | 1 risposta | 0

1

risposta