Top 10% contributor
The answer by the MathWorks Support Team focusses on Toolboxes that are supplied and licensed by MathWorks. (Which also appeare...
Answered 1 year ago
Hello, For example, I tried creating an animated GIF using images of mixed sizes, mixing landscape and portrait orientations. ...
2 years ago
The questions are more difficult than they might appear. After testing in MATLAB I could confirm the correct answers, and I rec...
Answered 9 months ago
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
3 days ago
Given the input n, return true if n is odd or false if n is even.
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
4 days ago
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
Given a and b, return the sum a+b in c.
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
9 months ago
The syntax looks wrong.
if (C >= 11.64 ...
Answered 4 days ago
Hi, Ben, Walter & A7mad.
For me, I'd be concerned, if setting up two 'lines' at different distances along the road, about t...
Two short follow-up points:
(1) It doesn't seem to be necessary to split the manual transformation into two separate steps
Chaos" <firstname.lastname@example.org> wrote in message > using matlab to play any kind video format is practically a waste of time. ther...
5 years ago
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries