Answered
How to subcategorize dates from a datetime table?
If you have a timetable use a timerange to index into it to retrieve the appropriate section of the timetable then perform whate...

3 years ago | 1

| accepted

Answered
Code for a project, giving me an error stating unrecognized function or variable 'mass'. What is the fix?
So your function accepts seven input arguments from the user: function design_parameters = size_auv_design(mass, length, width,...

3 years ago | 0

Answered
Calling a function file in a method
If location.m is a function file and the function you want to call is the first function in the file, the main function, just ca...

3 years ago | 0

| accepted

Answered
using imread on script get not valid name error, but no errors on command window
What's the name of your script? Does it satisfy the rules listed in that dialog? Does it start with a letter and contain only l...

3 years ago | 0

| accepted

Answered
How do I multiply a given function handle with the independent variable?
f = @sin; g = @(t) t.*f(t); format longg [3*sin(3); g(3)] % Spot check by evaluating the function at t = 3 Now you can use g...

3 years ago | 0

| accepted

Answered
UNABLE TO PERFORM THE ASSIGNMENT
The problem is not with the solve call. The problem is on the next line. You're assuming that the equation you're solving has ex...

3 years ago | 0

Answered
source of helperCreateBinaryOccupancyMap in Collision Warning Using 2-D Lidar
That local function is defined in the Supporting Files section of the example.

3 years ago | 0

| accepted

Answered
Find element in heterogeneous object array
Something like this should work. child1 = SubClasse1; child2 = SubClasse2; vectorOfObjects = [child1 child2] isClass1 = arra...

3 years ago | 0

| accepted

Answered
How to implement the following algorithm in MATLAB ?
See the shortestpath and/or shortestpathtree functions for graph objects.

3 years ago | 0

Answered
Transformation from datetime to seconds
How do you want to perform this transformation? What does right now translate to in seconds? N = datetime('now') Do you want t...

3 years ago | 0

Answered
How to set a default value to a map container in argument validation?
Because each function call is independent I'd expect you wouldn't have the same issue with a handle object in a function's argum...

3 years ago | 0

| accepted

Answered
How to solve system of ODE equations with two variables?
I'd probably use one of the ODE solvers with a Mass matrix. See this documentation page for one example that converts a system o...

3 years ago | 0

Answered
E+ and Matlab Error - Error using table (line 335) 'XOutputNameX' is longer than the maximum allowed length for a table variable name.
The maximum length a table variable name may have in MATLAB is namelengthmax. namelengthmax The name you're trying to use has ...

3 years ago | 0

Answered
find the index number using bsxfun command
I'd prefer using the ismember function instead of bsxfun.

3 years ago | 1

| accepted

Answered
Looping through index number + 1
This code probably isn't doing what you think it is. I've commented it out below so I could run some code later in this answer. ...

3 years ago | 1

| accepted

Answered
MathWorks Account Unavailable - Technical Issue
Looking at the Application Status page it appears that there was a service degradation issue affecting MATLAB Online and ThingSp...

3 years ago | 0

Answered
Get my Iicense number
If you're trying to use your company or educational institution's license, ask whoever maintains the organization's software lic...

3 years ago | 1

Answered
How to set a default value to a map container in argument validation?
Consider the two classes attached to this answer. The class class1936099_A defines someDict to contain a containers.Map in the p...

3 years ago | 0

Answered
Missing function in the Antenna Toolbox?
Open the example using the command that gets copied to the clipboard when you press the Copy Command button at the start of the ...

3 years ago | 0

Answered
matlab uses "which" to find a file that shows up as a built-in function location, but why doesn't the file actually exist?
Functions that which reports as built-in are compiled into the various binary files that make up MATLAB. If you're trying to fin...

3 years ago | 0

| accepted

Answered
Matlab 'pidtune()' function Algorithm
See the Algorithms section on its documentation page. The References section on that same page may also be of interest.

3 years ago | 0

Answered
set(gcf,'Position') not working?
This was not an option when the original question was asked, but if you want the figure to cover the entire screen change its Wi...

3 years ago | 0

Answered
how i can write sine square vs intensity graph?
The square of the sine of an angle: A = pi/4; sa = sin(A) ssa = sin(A).^2 Note that trying to put the ^2 between the functio...

3 years ago | 0

Answered
I was late to a mathworks webinar
Is this the webinar in question? Or perhaps that session was an updated version of that webinar, in which case I recommend cont...

3 years ago | 0

| accepted

Answered
Unable to run Circuit Simulation Onramp in R2021a
The Circuit Simulation Onramp was introduced in release R2021b as stated on its documentation page. You will need to upgrade you...

3 years ago | 0

Answered
function handle array Problem
MATLAB no longer allows non-scalar arrays of function handles; I think the last release in which that was supported was release ...

3 years ago | 0

Answered
How to extract the "coefficients" of a symbolic matrix?
Let's simplify the problem a bit and see if we can solve this for the expression z = y + A*y + y*B. What happens if either A or ...

3 years ago | 1

Answered
~ que significa este valor en una indexnizacion de matriz y que esta haciendo en laq funcion?
See this documentation page for an explanation of how ~ is used as an output argument when calling a function. La versión en es...

3 years ago | 0

Answered
ssa Centrale Survey requested from the Direction Information Technology & Security
Depending on the types of questions or concerns your Direction Information Technology & Security group has, the information in t...

3 years ago | 1

| accepted

Answered
Adding Product to an Existing License Past Its Service End Date
Please send this licensing question to Customer Service directly using the Contact Support link under the Get Support heading at...

3 years ago | 0

Load more