Answered
How does feedforwardnet(x) work in matlab.
Are you taking into account the pre-processing and post-processing functions?

3 years ago | 0

Answered
matlab Appdesigner TreeNode's NodeData property is unable to be set as a char that is a matapp file name
Can you show us the code where you're trying to get access to the word that you typed or pasted into the NodeData box? I'm guess...

3 years ago | 0

Answered
How can I just load a saved variable created from merging other variables but not also load those other variables?
save ArrayA; % I ONLY save ArrayA No, that's not what that means. If you look at the list of syntaxes on the save documentation...

3 years ago | 1

| accepted

Answered
datetime default format by version and operating system
What are your datetime format preferences settings? Can you confirm that you're using the datetime function included as part of...

3 years ago | 0

| accepted

Answered
How can I change my O(n^2) solution to O(n logn) or better?
You don't need to create a big matrix, just another vector. num_array = [2 7 11 15] target = 9 solutionLocations = ismember(n...

3 years ago | 0

Answered
change floating number in a column matrix
I'm guessing whoever or whatever wrote that file intended that to be a "missing" value or it's an outlier. The functionality in ...

3 years ago | 0

Answered
(Very!) Slow elementwise division using large sparse matrices.
The resulting matrix won't be very sparse. Anywhere your Hscos has a 0 (including the implicitly stored 0's) the result will con...

3 years ago | 1

Answered
Can argument validation check if size is at least some value?
No. You will need to create your own custom validation function. Use the mustBeEqualSize example on this documentation page as a...

3 years ago | 0

| accepted

Answered
Deploy ANN model Developed using ann fitting app using Matlab Compiler
If you are attempting to compile code using MATLAB Compiler that calls load to load an object from a MAT-file and there is no in...

3 years ago | 0

Answered
Find minimum or maximum value - two conditions
I think the islocalmin and islocalmax functions will be of use to you. See the MinSeparation name-value argument.

3 years ago | 1

Answered
I need the code of assempde function
The assempde function is part of Partial Differential Equation Toolbox. If you have this toolbox licensed and installed you can ...

3 years ago | 0

Answered
Trying to create a class that will adhere to a certain script and output:
Your class is a value class rather than a handle class. See this documentation page for a discussion of the difference. That mea...

3 years ago | 1

| accepted

Answered
Undefined function 'preprocessData' for input arguments of type 'cell'.
Are augmentData and preprocessData in the same file (and a different file than the one in which you're trying to use preprocessD...

3 years ago | 0

Answered
Positioning Axes using arrays
Position is one of the properties of an axes object. In general for the core graphics objects the documentation pages list and e...

3 years ago | 0

Answered
Activation Key - MATLAB 2019a
Please contact Technical Support directly using the Contact Support link under the Get Support heading at the end of this page f...

3 years ago | 0

Answered
matlab GUI: How to access the name/tag of a function?
If they all behave exactly the same, why not give them the exact same callback function? The first input to the callback is the ...

3 years ago | 0

| accepted

Answered
Restore Default Font Colors of Figures
See the "Remove Default Values" or "Set Properties to Factory-Defined Values" sections on this documentation page.

3 years ago | 0

| accepted

Answered
How to convert data from floating point to fixed point? Not function, only data.
Try calling the fi function. q = fi(pi)

3 years ago | 0

| accepted

Answered
Array indices must be positive integers or logical values.
Usually this happens when you try to use 0 as an index. Indices in MATLAB start at 1 not 0. x = 1:10; This will work: y(1:2:2...

3 years ago | 0

Answered
Period Length of the random numbers generated by rand() and randn()
See the "Choosing a Random Number Generator" section on this documentation page for a brief description of each of the available...

3 years ago | 1

| accepted

Answered
Find A matrix from Ax = 0
Assuming 0 is an appropriately sized vector each element of which is 0, sure. One possibility for A is the appropriately sized a...

3 years ago | 0

Answered
Implementation of 4-step Runge-Kutta
You define f as: f = @(y,t) -t*y + 4*t/y; You call f as: k1 = f(t(i), y(i)); Note the order of inputs in your definition and...

3 years ago | 0

Answered
I am trying to use Events option in ode45 for my program , please help!
Don't specify the first input to ode45 as the name of the ODE function 'ssp_ball_Con'. That's an old syntax, supported for backw...

3 years ago | 0

| accepted

Answered
start MATLAB on linux
From the documentation: "To start MATLABĀ® on Linux platforms, type matlab at the operating system prompt. If you did not set up ...

3 years ago | 1

Answered
Break title into multiple lines?
If you're not sure where to break the line of text, you can use the textwrap function. s is a long-ish title, 97 characters lon...

3 years ago | 1

Answered
Array indices must be positive integers
The variable func is a vector, the value of the function handle f evaluated at the points in x. On the line where you compute mi...

3 years ago | 0

| accepted

Answered
Related to vectors ?
As a guess, do you want to know if you can reach all the targets from one of the sources? You could use a graph object (assuming...

3 years ago | 0

Answered
Use of Dates in nested structure
I would to create a structure for the string xxxx.yyyy (This is the name of entity, it has a dot). By this do you mean you want...

3 years ago | 0

Answered
why cannot generate the sequence of Years
Let's look at your vectors in a different format, with day and month information not just year information. s=datetime('2014',...

3 years ago | 0

| accepted

Answered
Matlab trial list behavioral experiment
What's the format of the entries in your trial list, and what does "execute the stimuli" mean in this context? Does it mean to p...

3 years ago | 0

Load more