Answered
In which Matlab release was the hNBCellSearch function introduced?
I suspect it was probably introduced in the same release as this example was introduced, as this is the only hit when I searched...

6 years ago | 0

| accepted

Answered
how to call a nested function from a method
See the "Visibility of Nested Functions" section on this documentation page for an explanation of from where you can call a nest...

6 years ago | 0

Answered
How can I calculate the mean of a line and put it into a new vector?
Look at the description of the dim input argument in the documentation for the mean function. There's also a relevant example on...

6 years ago | 0

Answered
problem with sum in function
That is correct. Functions operate in their own workspaces. Variables from outside the function generally only enter a function...

6 years ago | 0

| accepted

Answered
Can I call integralCalc directly to bypass integralParseArgs?
Both those functions are private functions and are not intended to be called directly by users. As they are only accessible dire...

6 years ago | 0

| accepted

Answered
Error: File: fingerprint.m Line: 72 Column: 37 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
If you want to break a calculation across multiple lines, you must use ... at the end of the line to continue the expression to ...

6 years ago | 0

Answered
Multiple instances of matlab allowed with Individual license?
For an official answer to this licensing question, please send your question to Technical Support using the telephone icon in th...

6 years ago | 0

Answered
Trying to calculate the height but get an error
You're trying to solve for an h such that A1(h) = A2(h)? If rewrite that slightly to be in the form given in the documentation f...

6 years ago | 0

Answered
ODE system phase plane
Create an options structure using odeset. In your odeset call specify the OutputFcn option to be @odephas2, a function included ...

6 years ago | 0

Answered
Ones Function Giving Me Decimal Points
You've turned on the 'bank' display format. That displays a double or single precision array with 2 decimal places regardless of...

6 years ago | 0

| accepted

Answered
plotting a horizontal line at each data point
My first thought when I saw your picture was errorbar.

6 years ago | 0

Answered
Calling Matlab engine from Python fails
That page states "You might need administrator privileges to execute these commands." Do you have administrator privileges?

6 years ago | 0

Answered
Error - Array indices must be positive integers or logical values
Looking at a section of your code: i = 0; xi = (i-1)*xstep; if(xi>=0 && xi<=1) u(i,1) = sin(2*pi*xi); % initial condition , ...

6 years ago | 0

Answered
How do you create an m-file for the function
Follow the instructions on this documentation page. However, that's a simple enough function that if you didn't want to create a...

6 years ago | 0

Answered
array exceeds maximum array size preference.
You probably want to find an alternative to brute force to solve your problem. How many combinations are you trying to create? ...

6 years ago | 0

Answered
"MCC does not permit KEYBOARD function"
The keyboard function is classified as a "Debugging and Analysis" function, that's the category in which its documentation page ...

6 years ago | 0

| accepted

Answered
Missing processTurboFanDataTrain function in deep learning example
I believe, based on the Release Notes, that this example was introduced in release R2018a. Because of that I'm doubtful you coul...

6 years ago | 0

| accepted

Answered
The solve function in matlab isn't working.
Rather than specifying the inputs to solve as char vectors, you should specify them as symbolic equations. syms x y A = solve(...

6 years ago | 1

| accepted

Answered
Get average water flow for every 15min between 1am and 5am of each day
Read in both the water flow data and the date and time data (perhaps by reading your data in as a timetable.) Call hour on the d...

6 years ago | 0

Answered
why i can't install financial toolbox in the additional resources in matlab? when i click next step,it tell me something is wrong,please contact the technical support.
If the message told you to contact Technical Support, please contact Support using the telephone icon in the upper-right corner ...

6 years ago | 0

Answered
ODE45 - A way to determine the change from each time step or determine the last successful results
What's the mathematical form of your system of differential equations? Do they involve some sort of delay term? If so, try using...

6 years ago | 0

| accepted

Answered
More Efficient ismember Calculation
What's the most time consuming part of that line that you've identified as the bottleneck? Is it the ismember call, the indexing...

6 years ago | 0

| accepted

Answered
can I store class properties in axes UserData?
So you want to create a custom plot type, along the same idea as the spider plot? If you're using release R2019b or later, take ...

6 years ago | 0

| accepted

Answered
create vector with number of hour per years
If you need to extract and operate on each year's worth of data separately the timerange and retime functions will likely be of ...

6 years ago | 0

Answered
How to pick a value according to its probability
You can use discretize (which didn't exist when this question was asked originally) to do this. Generate uniform random numbers,...

6 years ago | 1

Answered
Number of license ??
Please contact your university's IT staff. Assuming the university has a license for MATLAB, they should be able to help you dow...

6 years ago | 0

Answered
Sortrow on certain elements within array
You could use sortrows, but another approach would be to turn the date and time information stored in the filenames into a datet...

6 years ago | 0

Answered
Near sighted pirate while loop?
In addition to keeping track of the pirate's position left or right of the center of the dock you need to keep track of how far ...

6 years ago | 0

| accepted

Answered
Out of memory error when working with small matrices
Can you confirm that you haven't created or downloaded your own eig.m and chol.m that's taking precedent over the built-in eig a...

6 years ago | 1

Answered
says unused value , consider it by replacing it by~, how do I fix it ?
Rather than assuming that solve returns the variables in the order you think it does (since you haven't specified the order, it ...

6 years ago | 0

Load more