Answered
Two y-axes but ticks do not match (matlab)
Instead of manually creating two axes and trying to line them up, use <https://www.mathworks.com/help/matlab/ref/yyaxis.html the...

8 years ago | 1

Answered
Pcode undefined for arguments of type 'char'. MATLAB Runtime is broken.
According to <https://www.mathworks.com/help/compiler/unsupported-functions.html this documentation page>, calling the |pcode| f...

8 years ago | 0

Answered
MATLAB crashs when struct index line is too long
I recommend following the instruction at the end of the crash log file. If this problem is reproducible, please submit a Ser...

8 years ago | 0

| accepted

Answered
How can I make correct executable file?
From the "Using a MATLAB File You Plan to Deploy" section on <https://www.mathworks.com/help/compiler/working-with-standalone-a...

8 years ago | 0

Answered
Conversion to double from optim.problemdef.OptimizationExpression is not possible.
Please add these lines immediately before the start of your |for| loop then run your code and show us what gets displayed. It wi...

8 years ago | 0

Answered
Bin data into time bins
Use |histcounts| or |histogram| depending on whether you just need information about how many are in each bin or if you also nee...

8 years ago | 0

| accepted

Answered
I wanted to know how I can implement parallel processing in matlab
Are all the signals vectors of the same size? If so put them into a matrix and call |fft| with the dim input. A = rand(5); ...

8 years ago | 0

Answered
Is there a way to avoid calling a superclass constructor during the execution of a subclass constructor?
IMO your superclass named character should probably be <https://www.mathworks.com/help/matlab/matlab_oop/abstract-classes-and-in...

8 years ago | 0

Answered
how to change variable value from another function
If by "implementation of brent" you mean <https://en.wikipedia.org/wiki/Brent%27s_method Brent's method>, depending on how that'...

8 years ago | 1

| accepted

Answered
I'm stuck with this proplem. Variable used before it's defined.
What you're describing sounds a lot like a Simulink model. Perhaps you should represent your differential equation graph that wa...

8 years ago | 0

Answered
making combinations from each leaf to parent node in Matlab
Consider building your tree as a <https://www.mathworks.com/help/matlab/math/directed-and-undirected-graphs.html |graph|>. You c...

8 years ago | 0

Answered
How can i create weighted undirected graph from randomly generated data points in 2d ?
For a given collection of points, there are often many different graphs you can create. For 100 points, that would be <https://o...

8 years ago | 0

Answered
I am unable to find simdriveline in R2018 version
It was renamed to Simscapeā„¢ Drivelineā„¢ in <https://www.mathworks.com/help/physmod/sdl/release-notes.html?rntext=&startrelease=R2...

8 years ago | 0

Answered
guide to appdesigner converter
Download <https://www.mathworks.com/matlabcentral/fileexchange/66087-guide-to-app-designer-migration-tool-for-matlab this file> ...

8 years ago | 0

Answered
function 'subsindex' is not defined for values of class 'string'
Rename the variable named title in your workspace so you can use the |title| function again. When the error message refers to...

8 years ago | 0

| accepted

Answered
Can two separate instances of the same Matlab version co-exist on a machine?
I'm not too surprised that the two versions don't coexist in the Startup menu or in the Control Panel, since they I believe they...

8 years ago | 0

| accepted

Answered
why am i getting this error-" Error using dir Characters adjacent to a ** wildcard must be file separators"
Because that's what <https://www.mathworks.com/help/matlab/ref/dir.html the documentation> says. Looking at the description in t...

8 years ago | 0

| accepted

Answered
Replace repeated pair of coordinates generated from 'randi' statement.
Use |randperm| to generate random unique linear indices. If you need subscripts rather than linear indices, convert the linea...

8 years ago | 0

Answered
Create a subtable from a larger table
Depending on what you mean by "summary" (compute the average of each |table| column for each value of your grouping variable, or...

8 years ago | 0

Answered
how to generate log normal random number
From <https://www.mathworks.com/help/stats/lognrnd.html the documentation for |lognrnd|>: "mu and sigma are the mean and stan...

8 years ago | 1

| accepted

Answered
Setting the graph of a differential function to 0 below certain conditions
Setting the population to 0 after the solver has finished could lead to unexpected behavior. Instead I recommend using the NonNe...

8 years ago | 0

| accepted

Answered
How can I use anonymous function in non-linear constraints in fmincon?
Yes, you could write an anonymous function as your nonlinear constraint function as long as your constraints are simple enough. ...

8 years ago | 2

| accepted

Answered
retime 'regular' is not a valid specification of target time vector for synchronization.
The online documentation is for the most recent release. As I type this the most recent release is release R2018a. You're using ...

8 years ago | 0

| accepted

Answered
Is the extent occupied by the xticklabels available?
I think about the closest you can get are the TightInset or OuterPosition properties of the axes. See <https://www.mathworks.com...

8 years ago | 0

Answered
When start Matlab the program freezeed
Please contact MathWorks Technical Support using the Contact Us link in the upper-right corner of this page and work with the Su...

8 years ago | 0

Answered
Symbolic Math Toolbox: Just installed: tried first example: 'sym(1/3)': system hangs: Help
See <https://www.mathworks.com/matlabcentral/answers/399991-syms-sym-and-mupad-functions-cause-matlab-to-freeze this Answer>.

8 years ago | 0

| accepted

Answered
How to remove bad data (outliers) from a plot?
If you're using release R2017a or later, use the |isoutlier| and/or |filloutliers| functions in the "Missing Data and Outliers" ...

8 years ago | 0

Answered
I am trying to solve an implicit equation. But it seems that I am having a problem with the fzero function because it keeps showing the output values around 1. The code is given below.
When I run your code and store the results in a |table| array: CL = 0:0.5:8; results = table(CL.', zeros(size(CL.'))...

8 years ago | 1

| accepted

Answered
What methodology Matlab uses to solve numerically an integral with infinity (inf) boundary?
Have you read the reference given at the end of the <https://www.mathworks.com/help/matlab/ref/integral.html |integral| function...

8 years ago | 0

| accepted

Load more