Answered
I can't call Publish function used MATLAB library compiler from Java
The publish function is on the list of functions that are not supported for deployment using MATLAB Compiler or MATLAB Compiler ...

5 years ago | 0

Answered
Solving a set of ordinary differential equations and functions dependent on each other
Let V = [B_o; B_c; H; F_p; F_n; f_p; f_n]. I think I read those correctly from the image. Then write your function so it compute...

5 years ago | 0

Answered
Threshold exceedance, where and by how much
Assuming you're reading this data into a table array like this sample one: load patients T = table(LastName, Age, Height, Weig...

5 years ago | 0

| accepted

Answered
Is it possible to access the value of the variable step size (of the independent variable) used by ODE45 within the ode function?
No, ode45 does not provide this information to the ODE function you pass into it. Why are you interested in the steps ode45 use...

5 years ago | 2

| accepted

Answered
Availability of ode32tb
As far as I'm aware there is no function ode32tb in MATLAB or any MathWorks products. If as I suspect you mean the ode23tb func...

5 years ago | 0

| accepted

Answered
if condition for Matrix
M(i-tau,j)=0 if i-tau <0, There's no such thing as row -1 of a matrix in MATLAB. Depending on what you're trying to do you coul...

5 years ago | 0

| accepted

Answered
Useful results from solve function
Try substituting values for the constants c1 through c6 and cp before trying to solve it. I expect that you're going to argue t...

5 years ago | 0

Answered
rng shuffle in parallel computing
Have you ever seen a movie where the bad guys say "Synchronize your watches" so they will all act at exactly the same time? That...

5 years ago | 1

| accepted

Answered
Creating a map with nodes from existing map
By gpx files I assume you mean this file format? Which release are you using? If you're using release R2020b or later try impor...

5 years ago | 0

Answered
How can i solve the issue of struct2table
You described intlinsol as "intlinsol is a 768 x 1 (these are binary integers numbers of 1's and 0's)" which to me implies that ...

5 years ago | 0

Answered
calling functions in other scripts
This is not just a function. It is a class method. classdef functioncontainer methods function res = func(t,n) A...

5 years ago | 0

Answered
Plot a function from another .m file in MATLab 2019 - Please help!!!
I have this function: [snip the text of the function] and I call it in another file .m: No, you don't call it in that file, a...

5 years ago | 0

| accepted

Answered
How to I convert this time format to datetime?
str ='Fri May 28 18:15:46 +0000 2021' inputFormat = 'eee MMM d H:mm:ss xx yyyy' dt = datetime(str, 'InputFormat', inputFormat,...

5 years ago | 0

| accepted

Answered
Can somebody tell me why I am getting an error while using the subs function?
In general when asking for help with an error you should show the full and exact text (everything displayed in red in the Comman...

5 years ago | 1

| accepted

Answered
Multivariate normal random numbers vs. random numbers from normal distribution
So you did this? mu = [-0.25, 0.03, 0.01]'; a = 1; % std b = mu(1); % mean rng default y(:, 1) = a.*randn(3,1) + b; rng de...

5 years ago | 1

| accepted

Answered
Communication architecture Parallel toolbox and Matlab Parallel server
This documentation page may contain the information you're looking for.

5 years ago | 1

Answered
error while opening a .m file
The open.m file in that directory is taking precedence over the function included in MATLAB. Rename your open.m.

5 years ago | 0

Answered
how does Matlab choose or decide step size of ode45?
People who are interested in understanding more about the ODE solvers in MATLAB may find the chapter on ODEs in Cleve's Numerica...

5 years ago | 0

Answered
Formula to MATLAB code
See the integral function.

5 years ago | 0

Answered
How can I generate a "histogram", which shows the relative frequencies depending on the angle as "vectors" in polar coordinates?
Take a look at the polarhistogram function. You are likely going to want to set the 'Normalization' name-value pair argument to ...

5 years ago | 1

Answered
Deployed App from App Designer cannot call function
Is there a way to facilitate this, i.e. to call a function that was created on-the-fly? No. From the documentation "MATLAB Runt...

5 years ago | 1

| accepted

Answered
How to avoid the dot operator when accessing property inside class method
You don't, at least not the way you're asking. Suppose you had a different method of your Robot class: function y = battle(a, ...

5 years ago | 0

| accepted

Answered
Too many output arguments using histogram function
The histogram function's documentation page states that it returns at most one output argument. I think what you're looking for...

5 years ago | 1

Answered
Function that returns information about other functions
You're not going to be able to do what you described, at least not without a ton of work and a lot of restricting what your func...

5 years ago | 2

Answered
Using datenum to calculate acceleration
Using datetime directly outputs a "duration" type variable, which I can't use to divide into Vdiff. That's true, but you don't...

5 years ago | 0

Answered
Deleted files generated with matlab keep occupying space in the hard drive and I can't locate them
Is your recycling preference set to delete or to move to the Recycle Bin / Trash / etc.? See the recycle function for more infor...

5 years ago | 0

Answered
MATLAB code error verification
You're asking for an element of an array in a column that doesn't exist in that array. Consider a 4-by-4 matrix: A = magic(4) ...

5 years ago | 0

Answered
Using accumarray with nested inline function
@PRA_GetNetLoss( flag, loss) This is not syntacticallly valid in MATLAB. Make this an anonymous function like you did with loc...

5 years ago | 0

| accepted

Answered
How to retrieve the output from an executable file generated by MATLAB compiler on the windows command line
As stated on this documentation page "You cannot return values from your standalone application to the user. The only way to ret...

5 years ago | 0

| accepted

Answered
Array formation and parentheses-style indexing with objects of class 'nodeClass' is not allowed. Use objects of class 'nodeClass' only as scalars or use a cell array.
The helperPacketizedModemNode class used in, among other places, this example specifically disallows being stored as a non-scala...

5 years ago | 0

Load more