photo

Cole Bromfield


Last seen: 5 years ago Active since 2020

Followers: 0   Following: 0

Statistics

MATLAB Answers

5 Questions
0 Answers

RANK
113,965
of 300,331

REPUTATION
0

CONTRIBUTIONS
5 Questions
0 Answers

ANSWER ACCEPTANCE
20.0%

VOTES RECEIVED
0

RANK
 of 20,920

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,124

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

View by

Question


How do I get this to display the maximum value of an array?
I wrote this function: function max=maxval(x) a=1; N=length(x); for j=x(1:N) if x(j)>a a=x(j); else ...

6 years ago | 2 answers | 0

2

answers

Question


Is there a way to find the max value in an array without using the "max" command?
My professor wants us to create a function to find the max value in an array x (max=maxvalue(x)). He said we are not allowed to...

6 years ago | 4 answers | 0

4

answers

Question


How to write a function for a certain number of random numbers
My assignment says: "Create an .m file that is a function that creates an array of N random integers in the range from -9999 to...

6 years ago | 2 answers | 0

2

answers

Question


How to display two things on one line?
My assignmend is telling me to use the display command to display the phrase "The first random variable is" and the x value (cal...

6 years ago | 3 answers | 0

3

answers

Question


"At least one 'end' is missing: the statement may begin here"
k=1 for k=1:20 disp(k) if mod(k,2)==0 disp("na") if mod(k,3)==0 disp("ba") if mod(k,5)==0 di...

6 years ago | 1 answer | 0

1

answer