Ayda
Followers: 0 Following: 0
Good morning
i have write this code and it works well
but there is something i do not know how to do it
this is my code
"function C=OneCamera(x,y)
for i=1:15
for j=1:15   
    x=1
    y=1
    d=(i-x)^2+(j-y)^2;
    if d<30 C(i,j)=1;else C(i,j)=0;;end
end;
C
S= C(:)'
end"
i want to do for loop so x and j change from 1 to 15 after i and j reach to (15,15)
Professional Interests: optimize the number of cameras
Statistics
RANK
197,972
                          
                          
of 300,381
                        
REPUTATION
0
                           
                        
CONTRIBUTIONS
                          16 Questions
                          1 Answer
ANSWER ACCEPTANCE 
                            31.25%
                        
VOTES RECEIVED
0
RANK
 of 20,941
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS 
0
ALL TIME DOWNLOADS
0
RANK
of 168,477
CONTRIBUTIONS
                            0 Problems
                            0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
