Answered
Can I see values of variables while a code is running.
As of <https://www.mathworks.com/help/matlab/release-notes.html?rntext=pause&startrelease=R2015b&endrelease=R2016a&groupby=relea...

8 years ago | 0

Answered
Please provide the export control number (ECCN) for Matlab Compiler Runtime for export compliance purposes.
Please send this question to MathWorks Support (specifically Customer Service) using the Contact Us link in the upper-right corn...

8 years ago | 0

Answered
Convert day of year to Date?
You want to convert the day number to the date in the current year? % Get today and the start of the current year d = da...

8 years ago | 1

Answered
How can I add 4 legends when there are 6 plots?
You only want to include some of the lines plotted in your axes in the legend? The "Included Subset of Graphics Objects in Legen...

8 years ago | 0

Answered
how to decrease for loop variable counter when deleting rows in a matrix
That is correct. In the <https://www.mathworks.com/help/matlab/ref/for.html documentation for the |for| keyword>: "Avoid assigni...

8 years ago | 1

Answered
How to overload class functions for custom functions
*Can* you do this? I'm not certain. I know in previous releases having multiple class directories on the path would treat the un...

8 years ago | 0

Answered
making continual statement(?) without typing entire elements
Transpose X and Y then use the |ismember| or |ismembertol| functions.

8 years ago | 1

| accepted

Answered
Matlap plot- linspec features
So you want to just call: plot(x, y) then change the plotted line to have a different line style or color? Call |plot| w...

8 years ago | 0

Answered
Show values of matriz
To build the text form of the matrix, you can use |mat2str|. I used |split| here to split each row into a separate row of text. ...

8 years ago | 0

Answered
Why installation is complete without DVD2?
My guess would be that you didn't install any toolboxes whose installation files are stored on DVD 2.

8 years ago | 0

Answered
Error using fmincon, row dimension inconsistent
para_lou = fmincon(MLE_lou,par_0,[],vix_in); This attempts to call the MLE_lou function with zero input arguments and pass t...

8 years ago | 0

Answered
set same xlim for all subplots
You may want to use <https://www.mathworks.com/help/matlab/ref/linkaxes.html |linkaxes|> on your |subplot| axes.

8 years ago | 3

| accepted

Answered
'graph.m' for Graph and Network Algorithms mit matlab
The |graph| and |digraph| objects were first introduced <https://www.mathworks.com/help/matlab/release-notes.html?rntext=digraph...

8 years ago | 0

Answered
How do I calculate Second Neighborhood?
I'm not familiar with the term "second neighborhood" in the context of graph theory. My guess is that what you're looking for is...

8 years ago | 1

Answered
Why was SelectionHighlight done away with for UIControls????
That change was made back <https://www.mathworks.com/help/matlab/release-notes.html?searchHighlight=SelectionHighlight&s_tid=doc...

8 years ago | 0

Answered
UTC time
You can do this using |datetime|. >> dt = datetime(1263403529, 'ConvertFrom', 'posixtime') dt = datetime...

8 years ago | 2

Answered
Adding the variable name onto a plot cursor
I would consider using color, line style, and/or marker to distinguish the twelve lines. Using <https://www.mathworks.com/help/m...

8 years ago | 0

Answered
I keep getting this error index exceeds array bounds. please help me. I'm new to MATLAB
At the second iteration through your |for| loop, i is 2. On the first line of the body of the loop, you try to index y(2). Howev...

8 years ago | 0

| accepted

Answered
How can I get help with a MATLAB operation problem in Windows 10?
Do your "complex scripts" use functionality from Symbolic Math Toolbox? If so install the Update as described in <https://www.ma...

8 years ago | 0

| accepted

Answered
Storing and accessing large amounts of time-based data
<https://www.mathworks.com/help/matlab/release-notes.html?rntext=tall+timetable&startrelease=R2017a&endrelease=R2018a&groupby=re...

8 years ago | 1

Answered
error when using quadgk, Error using quadgk (line 99) A and B must be scalar floats
You closed the |arrayfun| call too soon. The inputs 'UniformOutput' and |false| are supposed to be passed into |arrayfun| not pa...

8 years ago | 0

Answered
Why Undefined function 'besselzero' for input arguments of type 'double'.
Before you use functions that are part of an add-on from the File Exchange, you must download and install that add-on. If you're...

8 years ago | 0

| accepted

Answered
Understanding nargout(@plot) and detecting "varargout-only" functions
_My ulterior motive is to be able to detect whether a function has varargout as its only only output argument in its function si...

8 years ago | 0

Answered
Code Analyzer Misses Variables
What's on the line between "[ERP, TFR] = prelim(cfg);" and "for i = 1:6" in your picture, the line covered by the Code Analyzer ...

8 years ago | 1

Answered
Replace NaN's in table with zero
I would use the <https://www.mathworks.com/help/matlab/ref/fillmissing.html |fillmissing| function> introduced in release R2016b...

8 years ago | 7

Answered
How to add two constraints in the event function of Matlab ODE's
You can specify multiple event conditions in the events function. The |ballode| function is the "Simple Event Location" example ...

8 years ago | 0

Answered
Does anyone know how to open a Microsoft cmd.exe window in MATLAB?
See the |system|, |dos|, or |unix| functions or the bang operator !.

8 years ago | 2

Answered
Function handle in lsqr
The first paragraph in the Description section on that documentation page states: "You can specify A as a function handle, af...

8 years ago | 0

| accepted

Answered
"SimulatedStock.mat" for Candlestick chart
From reviewing the documentation page in release R2017b it appears that example, and the data file it uses, were both introduced...

8 years ago | 0

| accepted

Answered
Replace the ticks value manually
Do you want to change where on the axes the tick labels are placed (no longer have labels at x = 1, x = 2, x = 3) or do you just...

8 years ago | 0

Load more