Bryce McCord
Followers: 0 Following: 0
Statistics
5 Questions
0 Answers
RANK
67.279
of 295.673
REPUTATION
0
CONTRIBUTIONS
5 Questions
0 Answers
ANSWER ACCEPTANCE
40.0%
VOTES RECEIVED
0
RANK
of 20.262
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154.257
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
Add code to have switch repeat if a case is not met
fprintf('Difficulty level: \nEasy: [0, 10] \nMedium: [0, 50] \nHard: [0, 100] \n'); % Print statement outputting different diffi...
ongeveer 2 jaar ago | 3 answers | 0
3
answersQuestion
How to eliminate the for loop but end with the same result
A = input('Using brackets, enter a vector: ') for i=1:length(A) if(A(i) > 0) B(i) = A(i).^3; else ...
ongeveer 2 jaar ago | 1 answer | 0
1
answerQuestion
How do I rewrite this code to output the same answer without the for loops
A = [1 3 5 7 9]; B = [2 4 6 8 10]; L = min([length(A) length(B)]); C = zeros(1, 2*L); for i=1:L C(2*(i-1)+1) = A(i); C(2*i...
ongeveer 2 jaar ago | 1 answer | 0
1
answerQuestion
Building a function that calls on an array and finds its maximum
Can somebody help/ give me an example of a function that would find the maximum of an array. Any help would be appreciated.
ongeveer 4 jaar ago | 0 answers | 0
0
answersQuestion
Bisection method help.
function [f] = Bisection(a, b, Nmax, TOL); f=@(x) x.*x.*x.-2; i=1; BisectA = f(a) while i <= Nmax p=a+(b-a)/2; ...
ongeveer 4 jaar ago | 1 answer | 0