Answered
Matlab R2013a won't start on Mac OSX 10.8.5 (Mountain Lion)
Contact MathWorks' installation support team!

12 years ago | 0

Answered
imgradient() function in matlab 2013b version
doc gradient This will give you the components from which you can calculate magnitude. Or you can upgrade :)

12 years ago | 1

| accepted

Answered
Menu Bar in Matlab IDE
There is no way to revert to the old IDE from within MATLAB R2012b or greater. The check for updates is on the home tab under...

12 years ago | 0

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

12 years ago

Answered
Error using myfun (line 15) Not enough input arguments.
How are you calling it? Are you are just pressing the play button (green triangle), then no inputs are passed to myfun. You ne...

12 years ago | 0

| accepted

Answered
Error message when using plot command: "Subscript indices must either be real positive integers or logicals"
Run: dbstop if error At the command line. Then run the above code. It will stop with the debugger on the offending l...

12 years ago | 0

Answered
questions about Amazon EC2
I would advise contacting us on this one. The specialists who can help you here have more experience and resources to help. As...

12 years ago | 0

| accepted

Answered
License Manager Error -97
Contact MathWorks' Installation and Licensing Support.

12 years ago | 0

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

12 years ago

Answered
issue constructing structure with valid field names for traincascadeobjectdetector
No. Fieldnames have to be valid MATLAB variable names. If you need to create them on the fly, you can use |genvarname|: g...

12 years ago | 0

| accepted

Answered
Buying Matlab Student version.
Yes, as long as you're still a student (you'll need to deactivate it from the old machine). <http://www.mathworks.com/academi...

12 years ago | 0

| accepted

Solved


LIFO Validation
Write a function to check whether a LIFO (Last In First Out) restriction on inventory is violated. We have two input vectors ...

12 years ago

Answered
Legend line are the same always
Pass the plot handles into |legend| *More* When you plot |rand(10)| it will plot 10 lines and give you back 10 handles. T...

12 years ago | 0

Answered
Is it possible to define the properties for a class using cell array?
Ycan have your class inherit from _DynamicProps_ and this will allow you to add properties dynamically. <http://www.mathworks...

12 years ago | 1

| accepted

Answered
ML R2013a installation doesn't start
Contact our (free) installation technical support.

12 years ago | 0

Answered
bounding box for ratio
doc regionprops Will give you bounding box. doc size Will give you image size.

12 years ago | 0

| accepted

Solved


Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9

12 years ago

Answered
how to get my plp?
Talk to your Company/University IT department or contact out Customer Service department.

12 years ago | 1

| accepted

Solved


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

12 years ago

Solved


Get ranking of a combination
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

12 years ago

Solved


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

12 years ago

Answered
Help with syntax of calling genetic algorithm (ga) function
I would try: dbstop if error To stop with the debugger when the error occurs. It looks like you may need to change a ma...

12 years ago | 0

Solved


Return the Nth Output from an Input Command
*Description* Given _F_, a cell array whose first element is a function handle and subsequent elements are arguments, return ...

12 years ago

Solved


Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

12 years ago

Answered
3-D and 4-D Interpolation for datas that are not monotone increasing
Then use |griddatan| (or encourage your IT department to upgrade the release :) ).

12 years ago | 0

Solved


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

12 years ago

Solved


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

12 years ago

Solved


GJam 2013 Veterans: Hedge
This Challenge is derived from <http://code.google.com/codejam/contest/2334486/dashboard Hedgemony>. This is the Large data set ...

12 years ago

Solved


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

12 years ago

Solved


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

12 years ago

Load more