Answered
How to calculate the second derivative of an unanalytically function
Why not just let |fmincon| use finite differencing? If that is not working, then it's possible that your function is disconti...

11 years ago | 0

Answered
Butterworth filter does not exist in Matlab R2014b, on Yosemite OS X
|butter| is in the Signal Processing Toolbox so it's likely not installed with your R2014b. You can verify this by running: ...

11 years ago | 0

Answered
Copy figure to clipboard
>> print -clipboard -dbitmap Or >> print -clipboard -dmeta

11 years ago | 1

| accepted

Answered
importing files automatically callback function error
|addlistener| automatically passes along two inputs, source and eventdata. You can either have your function ignore these or ...

11 years ago | 1

| accepted

Solved


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

11 years ago

Answered
How I can produce a colour contour map?
contourf(M(:,:,3)) % all rows, columns and third page You should also consider using |contourm|. Otherwise your lat/lon da...

11 years ago | 0

Answered
out of memory error!
Either buy a bigger computer with 64 bit OS and MATLAB, or downsample your data.

11 years ago | 1

Answered
Optimization and Machine Learning
Sequential feature selection is what it sounds like you're looking for. doc sequentialfs

11 years ago | 0

Answered
how can I connect java with matlab
You can use Builder JA to build java packages from your MATLAB analytics. <http://www.mathworks.com/products/javabuilder/>

11 years ago | 0

Answered
SolidWorks to SimMechanics Link
Do you have write-permissions to that directory? Try running MATLAB As an Admin (right-click on icon, run as admin)

11 years ago | 0

| accepted

Answered
The output of refinemesh function. Is it always the same or a given mesh ?
Looking at the algorithm (bottom of the documentation page for |refinemesh| ) doc refinemesh I don't see anything that s...

11 years ago | 0

Answered
what's the difference between | and || in matlab??
| applies to each element in the array, |||| applies to a scalar condition: [1 0 1] | [ 0 0 1] v. [1 0 1] || [ 0 0 1...

11 years ago | 2

Answered
How to programmatically select a tab in a uitabgroup?
You can set it using SelectedTab of the uitabgroup: tg = uitabgroup; tt(1) = uitab('Parent',tg); tt(2) = uitab('Parent',t...

11 years ago | 3

| accepted

Answered
Symbolic Integration, how to count when int can not compute?
Use the curve fitting app ( |cftool| ) or |lsqcurvefit| to fit to the data finding those coefficients. The use of a symboli...

11 years ago | 0

Answered
Mixed Data Types In a Table
% Simulate data T = table(rand(10,1),categorical(cellstr(('rgbbrgrrbr').'))) % Convert to double and extract with {} ...

11 years ago | 1

| accepted

Answered
inputname with numeric inputs
There are ways to do it (sometimes), for example <http://www.mathworks.com/matlabcentral/answers/16693-within-a-function-get-...

11 years ago | 0

Answered
Error (The value assigned to variable <variable_name> might be unused)
Usually for me, these warnings mean I have a typo. xxxxxx = 1:10 plot(xxxxx) You can click on the variable to highlight...

11 years ago | 0

Answered
Lowess smoothing has 49,226 calls , taking forever, anyway to speed up?
Yes, you should be able to use a |parfor|-loop (rather than |for| or |cellfun|) to loop over your cells and do the analysis: ...

11 years ago | 0

Answered
How to execute statements within functions in a random order?
phoneorder = randperm(3); for ii = 1:numel(phoneorder) disp(phoneorder(ii)) switch phoneorder(ii) ...

11 years ago | 0

Answered
importing data from a text file to matlab
Right click on the file and select "Import Data". Then select the data you want and import it. If you want to automate this, c...

11 years ago | 0

| accepted

Answered
How to remove repeated values mantaining the first one from an array ?
abs(diff('0000111001111101101'))

11 years ago | 0

Answered
Output class object inherits the property/value pairs of a figure
Giorgos, rather than writing a figure class, write two classes for the vertical and horizontal scrollbars. Then add them to the...

11 years ago | 1

| accepted

Answered
Fun Question but Confusing! Convert Number to English phrase
I'd start here: <http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=english> And probably end u...

11 years ago | 0

Answered
undefined function or variable 'th14'
th14=-1*(atan((0.08*cos(th12)-0.18-0.05*cos(th14))/(0.08*sin(th12)-0.05*sin(th14)))); This is the line where th14 is define...

11 years ago | 0

| accepted

Answered
Problem with expiring student license
Your IT department is probably a good first bet since they might have an updated license file. If they don't, then call MathWor...

11 years ago | 0

Answered
Change quiver arrow size and width in 2014
I don't know exactly what you want, but perhaps try changing the _AutoScaleFactor_ or the _MaxHeadSize LineWidth_ etc. propertie...

11 years ago | 0

Answered
how to dynamically assign data to a variable
Dynamic and variable should really never be in the same sentence :) <http://www.mathworks.com/matlabcentral/answers/57445-faq...

11 years ago | 0

| accepted

Answered
Delete line from subplot: Handles not known
Another thing you can do is set the line's _'ButtonDownFcn'_ to delete it. Then you can just click on the ones you don't want: ...

11 years ago | 0

Answered
How can i get the divergence of vector field of a gray scale image??
doc divergence doc ndgrid Build a grid of every row/col page and then call divergence with these and your displacement v...

11 years ago | 0

Answered
create a 3x3 cell array with random numbers
num2cell(rand(3))

11 years ago | 0

Load more