Bashir Yusuf Bichi
Followers: 0 Following: 0
Statistics
RANK
25 934
of 295 527
REPUTATION
1
CONTRIBUTIONS
14 Questions
1 Answer
ANSWER ACCEPTANCE
78.57%
VOTES RECEIVED
1
RANK
of 20 242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154 057
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
Feeds
Question
How to generate a random number that is greater than or equals to a given number
example a=5 y=randi(number)>=a
mer än 6 år ago | 1 answer | 0
1
answerExtracting the first three minimum elements from a vector v and assign them to h then letter remove the elements from vector v and used the index to removed some element in vector w.
v(h)=[]; w(h)=[]; thanks @KSSV, I got it. I don't have to use the while loop.
nästan 7 år ago | 0
| accepted
Question
Extracting the first three minimum elements from a vector v and assign them to h then letter remove the elements from vector v and used the index to removed some element in vector w.
v=[3,6,1,7,9,4]; w=[3,2,7,1,9,5]; [x,y]=sort(v); h=x(1:3); i=1; while i<=numel(v) if v(i)==h(i) % here h wil...
nästan 7 år ago | 2 answers | 0
2
answersQuestion
How to pass a variable from one function to another without declaring it as global
Fn1 { a; b; } Fn2 { c=a; }
nästan 7 år ago | 1 answer | 0
1
answerQuestion
if I have a vector of 20 elements, how can I extract the 5 minimum elements in that vector
V=[23,56,12,90,45,21,56,10,70,100,15,...] a=[10,12,15,21,23]
nästan 7 år ago | 2 answers | 0
2
answersQuestion
how to combine two different vectors into a cell array
e.g v=[3,6,4...] b=[5,3,1,...] C=cell array containing v and b
nästan 7 år ago | 1 answer | 0
1
answerQuestion
How to create an array with pair of elements, how can i also use first pair in computation
such as H=[1,4,2] V=[(4,3),(5,1),(7,5)] b=[(4+1),(5+4),(7+2)] c=second pair of V i.e. c=[3,1,7]
nästan 7 år ago | 0 answers | 0
0
answersQuestion
Matlab functions/scripts
I have four Matlab functions/scripts and I call all the functions/scripts from one main function, but the results where differen...
ungefär 7 år ago | 1 answer | 0
1
answerQuestion
How can I extract all values in a row of an array without the its maximum value
ex a= 1 3 6 5 6 7 1 9 5 3 9 10 the extracted row will be 5 3 9
ungefär 7 år ago | 2 answers | 0
2
answersQuestion
Am trying to reduce a vector by summing some elements in the vector to form another vecter
example if v=[40,34,10,8,6,2] then the new vector will make 40 to be the reference point. after comparing each element the new ...
ungefär 7 år ago | 1 answer | 0
1
answerQuestion
How can I find the maximum of a given matrix and then locate the minimum value along the row of the maximum value
e.g a = 4 2 8 5 9 1 3 10 17 maximum will be 17 for the entire array and 3 will be the min value ...
ungefär 7 år ago | 3 answers | 0
3
answersQuestion
how to find min or max value in each row of a matrix and its index, if a matrix is 3x2 it will find the min in first row
R= [27 25 21; 35 38 37; 42 47 49]; 1st min value will be 21
ungefär 7 år ago | 2 answers | 1
2
answersQuestion
how can I add a value to a particular cell in an array.
if [3,2,4,5;3,2,6,4;2,5,8,5] is array then we add we add 2 to the second row to become [2,3,2,5;3, *4*,6,4;2,5,8,5]
ungefär 7 år ago | 1 answer | 0
1
answerQuestion
How to obtain a set of matrix from another matrix by adding the previous row value along the column to the next row on the same column
Example a= 2,4;3,4;2 1 the new matrix will be b= 2,4;3+2,4+4;2+3+2,1+4+4 along the colums
ungefär 7 år ago | 1 answer | 0
1
answerQuestion
how can I find the maximum value in each row of a matrix and sum along the column then assign the values to another matrix
example 2 3 3 4 5 3 1 2 3 2.5 the answer will be a vector (5+3, 3+4+2) the code may be incorrect but, I onl...
ungefär 7 år ago | 1 answer | 0