![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/2862919_1522091834161_DEF.jpg)
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
98,193
of 292,766
REPUTATION
0
CONTRIBUTIONS
16 Questions
1 Answer
ANSWER ACCEPTANCE
31.25%
VOTES RECEIVED
0
RANK
of 19,936
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 147,936
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