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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 1

| aceptada

Resuelto


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]

más de 11 años hace

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

más de 11 años hace | 0

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

más de 11 años hace | 1

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

más de 11 años hace | 0

Respondida
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/>

más de 11 años hace | 0

Respondida
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)

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 2

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

más de 11 años hace | 3

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

Cargar más