Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

10 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

10 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

10 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

10 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

10 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

10 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

10 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

10 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

10 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

10 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

10 years ago

Answered
R2011b Prints script name in Command Window
Phil - Sorry that this change has been disruptive to your workflow. We made the change intentionally, motivated by precisely wh...

10 years ago | 3

| accepted

Answered
Pre-allocating linked arrays for "live" plotting
I think the issue might simply be with your call to nan. You are creating 200 x 200 arrays of NaNs for x and y. I imagine your...

10 years ago | 0

Answered
Adding text to movie in Matlab
Try the text command. - scott

10 years ago | 0

Answered
running exe with system
I'm a little confused about your question. I would expect that you want to build a string that looks exactly like the one you w...

11 years ago | 0

Answered
Speech recognition Coding
Is your goal to have speech recognition running in MATLAB, or to actually learn how to implement the algorithm? If you just w...

11 years ago | 1

Answered
Writing software in MATLAB is useful or in C++
Manu - you might find that the <http://www.mathworks.com/matlabcentral/newsreader/ MATLAB newsgroup> is a better place to hold ...

11 years ago | 0

| accepted

Answered
Add directory to search path
A couple of techniques come to mind, of various complexity and robustness. *Easy, but fragile* Build a partial path specif...

11 years ago | 3

| accepted

Answered
Slider appearance on Macs in a cross platform GUI
This page gives a whole range of tips for making GUIs that look good on multiple operating systems: <http://www.mathworks.com...

11 years ago | 3

Answered
How to read images in a folder
Nilushi - We won't be able to hand you a complete answer, but can give some pointers. Here's a code snippet that shows comm...

11 years ago | 22

| accepted

Answered
Problem with the "get" function to get dat from a handles structure in a GUI
|handles.lambda| is a number, not a graphics object, so |get| won't work on it. Just type |handles.lambda| at the command line ...

11 years ago | 0

| accepted

Answered
Can I use multiple versions of the MATLAB Compiler Runtime on the same machine?
Yes to both questions. You can install multiple versions of the MCR on a single machine. Deployed applications will automatica...

11 years ago | 6

| accepted