Feeds
提问
help n=12 for I=1:n p(I) =rand p(I) =28×p(I) p(I)=ceil(p(I)) end I need to put constraint on this code must be theres no redanandnt values ..so if n=28 p will be all the numbers from 1:28 but in random
n=12 for I=1:n p(I) =rand p(I) =28×p(I) p(I)=ceil(p(I)) end I need to put constraint on this code must be theres no ...
10 years 前 | 2 个回答 | 0
2
个回答提问
help I need matlab code for generate a row vector that its length variable according to no of link failure and the valuse of the row vector will generate randomly between 1 to 28 and the condition there's no redanandnt values
help I need matlab code for generate a row vector that its length variable according to no of link failure and the valuse of the...
10 years 前 | 0 个回答 | 0
0
个回答提问
ms=[ 2 8; 3 6; 1 9; 4 3]for t=1:10s= rand valued= rand valuelet s=9 and d=1ss=[s d]dd=[d s] if any rowwith all column of ms = ss or dd I will do something in this time iteration else do another thing
ms=[ 2 8; 3 6; 1 9; 4 3] for t=1:10 s= rand value d= rand value let s=9 and d=1 ss=[s d] dd=[d s] if any row with all col...
10 years 前 | 0 个回答 | 0
0
个回答提问
help I need to correct this program because I have some trouble in run correctly
ms=[ 2 8; 3 6; 1 9; 4 3] for t=1:10 s= rand value d= rand value let s=9 and d=1 ss=[s d] dd=[d s] if any row with all c...
10 years 前 | 0 个回答 | 0
0
个回答提问
help I need matlab code to find two values with their index the closest and maximum value and the closest and minimum value
distance = sqrt((xd-x(I))^2 +(yd-y(I))^2) help I need matlab code to find two values with their index the closest and max...
10 years 前 | 0 个回答 | 0
0
个回答提问
help find two closet node with their index ..distance = sqrt((xd-x(I))^2 + (yd-y(I))^2)
help find two closet node with their index ..distance = sqrt((xd-x(I))^2 + (yd-y(I))^2)
10 years 前 | 1 个回答 | 0
1
个回答提问
help I have 40 iteration , 10 iteration of 40 at random to do something and the other 30 iteration for do another thing??
help I have 40 iteration , 10 iteration of 40 at random to do something and the other 30 iteration for do another thing?? for t...
10 years 前 | 2 个回答 | 0
2
个回答提问
help I need matlab code that multiply each element in each coulmn by a each element in avector with the same length
help I need matlab code that multiply each element in each coulmn by a each element in avector with the same length
10 years 前 | 1 个回答 | 0
1
个回答提问
Conditional logic if possible empty result query
m1= find((d1 <= r & x(source) < x & x<= x(destination) | ... d1 <= r & y(source) & y(destination) This code ...
10 years 前 | 1 个回答 | 0
1
个回答提问
help I need matlab code I have this condition m=find(distance<=r & distance~=0) after we get m values as a row vector I need to choose one of m's value randomly
help I need matlab code I have this condition m=find(distance<=r & distance~=0) after we get m values as a row vecto...
10 years 前 | 1 个回答 | 0
1
个回答提问
need matlab such that for I=1 :4 s=cumsum (q (:,I)) End I know cumsum deal with row vector not a column vector so who to a change it works to do what I need
I need matlab such that for I=1 :4 s=cumsum (q (:,I)) End I know cumsum deal with row vector not a column vector so who to a c...
10 years 前 | 0 个回答 | 0
0
个回答提问
I needed matlab code for cumulative sum of column vector
I needed matlab code for cumulative sum of column vector
10 years 前 | 1 个回答 | 0
1
个回答提问
for I=1:4 summation = dot(h(:,1),q(:,I))*q(:,I) end let h 3*3 matrix and q(:,I) vector column with 3 element I need every result of I+1 coming from sum of result I and the current result I+1
for I=1:4 summation = dot(h(:,1),q(:,I))*q(:,I) end let h 3*3 matrix and q(:,I) vector column with 3 element I need every resu...
10 years 前 | 0 个回答 | 0
0
个回答提问
help matlab code for summation from 1 to 4 dotproducts between two column vector multiple bycolum vector such as 《dot h(:,1),q(:,I)》*q(:,I)
help matlab code for summation from 1 to 4 dot products between two column vector multiple by colum vector such as 《dot h(:,1)...
10 years 前 | 0 个回答 | 0
0
个回答提问
help matlab code for summation from 1 to 4 dot products between two column vector multiple by colum vector such as 《dot h(:,1),q(:,I)》*q(:,I)
help matlab code for summation from 1 to 4 dot products between two column vector multiple by colum vector such as 《dot h(:,1),q...
10 years 前 | 0 个回答 | 0
0
个回答提问
i need the matlab code for programming qr function
i need the matlab code for programming qr function
10 years 前 | 1 个回答 | 0
1
个回答提问
m = find ((d2< r& ×(s)<y) l (d2<r& y (s)<y)) I wrote like this condition but it doesn't work I need if first condition is false or work with condition two
m = find ((d2< r& ×(s)<y) l (d2<r& y (s)<y)) I wrote like this condition but it doesn't work I need if first condition is...
10 years 前 | 0 个回答 | 0
0
个回答提问
what's the difference between | and || in matlab??
what's the difference between | and || in matlab??
10 years 前 | 2 个回答 | 1
2
个回答提问
I need matlab code for building loop with different length each iteration
I need matlab code for building loop with different length each iteration
10 years 前 | 0 个回答 | 0
0
个回答提问
help I need matlab code to to change randn instruction to rand and limit its value between 0 and 1
help I need matlab code to to change randn instruction to rand and limit its value between 0 and 1
10 years 前 | 2 个回答 | 0
2
个回答提问
help I need matlab code for bulid a static network I generate a position randomly but I don't need to make a fixed position by code rand (state,'0') because I use rand in another position
help I need matlab code for bulid a static network I generate a position randomly but I don't need to make a fixed position by c...
10 years 前 | 0 个回答 | 0
0
个回答提问
help I need matlab code for build avector, initially this vector don't have any value but I have a loop do something and in every run this value save a value with different length according to value that a loop represent
help I need matlab code for build avector, initially this vector don't have any value but I have a loop do something and in eve...
10 years 前 | 1 个回答 | 0
1
个回答提问
help how can I find the minimum number and return it's index in each row?
help how can I find the minimum number and return it's index in each row?
10 years 前 | 2 个回答 | 0
2
个回答提问
hello can you help me I need matlab code for random greedy routing
hello can you help me I need matlab code for random greedy routing
10 years 前 | 0 个回答 | 0
0
个回答提问
I need programming the standard gossip algorithm please help me
I need programming the standard gossip algorithm please help me
10 years 前 | 1 个回答 | 0
1
个回答提问
hello I want build a function that calculate the neighbours node for each node ...of course I genrete a node randomly with 3 dimensions
hello I want build a function that calculate the neighbours node for each node ...of course I genrete a node randomly with 3 d...
10 years 前 | 0 个回答 | 0
0
个回答提问
I need matlab code for standard gossip algorithm for calculate averaging in wireless sensor network and also I need matlab code for push sum algorithm to calculate averaging in WSNs
I need matlab code for standard gossip algorithm for calculate averaging in wireless sensor network and also I need matlab cod...
10 years 前 | 0 个回答 | 1