photo

mayur saraiya


Active since 2014

Followers: 0   Following: 0

Message

Professional Interests: power engineering

Statistics

MATLAB Answers

6 Questions
0 Answers

RANK
289,916
of 297,503

REPUTATION
0

CONTRIBUTIONS
6 Questions
0 Answers

ANSWER ACCEPTANCE
16.67%

VOTES RECEIVED
0

RANK
 of 20,449

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 159,017

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

  • Thankful Level 1

View badges

Feeds

View by

Question


Question-1: Consider a set of N numbers, myArray, (represented as a row vector) which is not ordered. Write a function myStats which takes myArray and an integer k such that 1≤k≤N and returns the kth largest and kth smallest element in myArray. Your
Question-1: Consider a set of N numbers, myArray, (represented as a row vector) which is not ordered. Write a function myStats ...

10 years ago | 0 answers | 0

0

answers

Question


Modify the function myStats (from question-1) and write myStats_2 so that the input argument k is optional. In case this argument is omitted, then the function myStats_2 returns the smallest and the largest element in the myArray. Write a script he
Modify the function myStats (from question-1) and write myStats_2 so that the input argument k is optional. In case this argume...

10 years ago | 0 answers | 0

0

answers

Question


Let the array a be declared as a = [ 1, 2; 2, 3]. Consider the definition of another array d as, d = zeros(size(a)) + 2. What will be the values in d? Select one: a. [ 2, 0 ; 0 , 0] b. [ 2, 2 ; 2 , 2] c. [ 2, 2 ; 0 , 0] d. [ 2, 0 ; 2 , 0]
Let the array a be declared as a = [ 1, 2; 2, 3]. Consider the definition of another array d as, d = zeros(size(a)) + 2. What w...

11 years ago | 1 answer | 0

1

answer

Question


-Let the array a be declared as a = [ 1, 2; 2, 3; 1, 2; 2, 3]. The assignment statement a ( 2:3, 1:2)= 0 results in Select one: a. a = [ 0 0; 0 0; 0 0; 0 0] b. a = [ 1 0; 0 0; 1 0; 0 0] c. a = [ 1 2; 2 3; 1 2; 2 3] d. a = [ 1 2; 0 0; 0 0; 2 3]
-Let the array a be declared as a = [ 1, 2; 2, 3; 1, 2; 2, 3]. The assignment statement a ( 2:3, 1:2)= 0 results in Select...

11 years ago | 1 answer | 0

1

answer

1

answer

Question


Let the array a be declared as a = [ 1, 2; 2, 3; 1, 2; 2, 3]. The assignment statement a(4:-1:1, 3:-1:1)=0 results in
Let the array a be declared as a = [ 1, 2; 2, 3; 1, 2; 2, 3] The assignment statement |a(4:-1:1,3:-1:1)=0| results in S...

11 years ago | 2 answers | 0

2

answers