Statistics
0 Problems
16 Solutions
RANK
N/A
of 302,066
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 21,527
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Solved
Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...
6 days ago
Solved
Count the vowels in a string
Given a string, return the number of vowels (a, e, i, o, u — case insensitive). Example: count_vowels('Hello World') returns 3
13 days ago
Solved
Median computation (★)
Given a vector of values, compute the median. The median is defined as the middle value in a set of *sorted* data. Thus, if ...
13 days ago
Solved
Determine if a number is prime
Given a positive integer n, return 1 if it is prime, 0 otherwise. Example: is_prime(7) returns 1, is_prime(4) returns 0
13 days ago
Solved
MATLAB 101: Fibonacci Sequence
The Fibonacci sequence is defined by the rule that each number is the sum of the two preceding ones. Sequence: 0, 1, 1, 2, 3, 5,...
13 days ago
Solved
factorial_calc(n)
Write a MATLAB function called factorial_calc(n) that takes a positive integer n as input and calculates the factorial of n. The...
13 days ago
Solved
2D - Mean Filter
Assume you are given an "image" matrix of size NxM. Reduce the image noise by implementing a mean filter window of size 9 (a 3x3...
20 days ago
Solved
Convert a grayscale image into RGB colour format, preserving data type
In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...
20 days ago
Solved
Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix. For Example: The sum of all positi...
27 days ago
Solved
MATLAB 101: Reverse a Vector
Write a MATLAB function that takes a 1D vector (either a row or a column vector) and returns the vector with its elements in exa...
27 days ago
Solved
Sum of elements in a vector (★)
(copy of Prob. 3) Find the sum of all the numbers of the input vector x. Input x = [1 2 3 5] Output y is 11 <> ...
27 days ago
Solved
Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...
1 month ago
Solved
Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...
1 month ago
Solved
Return the Square of a Number
Write a function that takes a single numeric input x and returns its square. That is, given x, your function should output x^2....
1 month ago
