A répondu
Experiences with release 2012b
(cross-posting a comment I just submitted on <http://blogs.mathworks.com/loren/2012/09/12/the-matlab-r2012b-desktop-part-1-intro...

plus de 10 ans il y a | 12

A résolu

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

presque 11 ans il y a

A résolu

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

presque 11 ans il y a

A résolu

Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

presque 11 ans il y a

A résolu

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]

presque 11 ans il y a

A résolu

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

presque 11 ans il y a

A résolu

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...

presque 11 ans il y a

A résolu

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

presque 11 ans il y a

A résolu

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...

presque 11 ans il y a

A résolu

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...

presque 11 ans il y a

A résolu

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...

presque 11 ans il y a

A résolu

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...

presque 11 ans il y a

A résolu

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...

presque 11 ans il y a

A résolu

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

presque 11 ans il y a

A résolu

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:...

presque 11 ans il y a

A répondu
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...

environ 11 ans il y a | 3

| A accepté

A répondu
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...

plus de 11 ans il y a | 0

A répondu
Adding text to movie in Matlab
Try the text command. - scott

presque 12 ans il y a | 0

A répondu
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...

environ 12 ans il y a | 0

A répondu
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...

environ 12 ans il y a | 2

A répondu
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 ...

environ 12 ans il y a | 0

| A accepté

A répondu
A couple of techniques come to mind, of various complexity and robustness. *Easy, but fragile* Build a partial path specif...

environ 12 ans il y a | 3

| A accepté

A répondu
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...

environ 12 ans il y a | 3

A répondu
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...

environ 12 ans il y a | 24

| A accepté

A répondu
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 ...

environ 12 ans il y a | 0

| A accepté

A répondu
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...

environ 12 ans il y a | 6

| A accepté