Answered
Explain code to me well found in the program I am new here
See the documentation for anonymous functions, the colon operator, and the fzero function. doc colon doc fzero

5 years ago | 0

Answered
Parse error at 'class' 'properties' 'methods' and 'end', "usage might be invalid syntax"
The name of the attribute is Dependent not Dependant.

5 years ago | 0

Answered
Convolution of function handles
Use the 'ArrayValued', true name-value pair argument as shown in the "Vector-Valued Function" example on the documentation page ...

5 years ago | 0

| accepted

Answered
Is it possible to create an Optimized Matlab RunTime to package with my app?
To contact MathWorks Technical Support create a service request using this page.

5 years ago | 0

Answered
Display result with two decimal places
format bank A=1.502357714661695e+04 B=1.096611470555982e+04 C=5.516017989036879e+03

5 years ago | 1

| accepted

Answered
how to solve four sets of ode having four variables
Use the "Example: Nonstiff van der Pol Equation" example on this documentation page to rewrite each of your higher order ODEs in...

5 years ago | 0

| accepted

Answered
Unittest: Verify whether the function prints correct error message
You can do this in one of two ways. When your function calls error have it call error with an error identifier and use verifyEr...

5 years ago | 1

| accepted

Answered
How to implement class based unit tests for functions that return random results
The four phases of a four phase test are Setup, Exercise, Verify, and Teardown. In this case, you want to Setup the random numbe...

5 years ago | 1

| accepted

Answered
In an assignment A(:) = B, the number of elements in A and B must be the same.
indexes(1) = find(abs(data.(field) - rangeLimits(1)) < tolerance); indexes(2) = find(abs(data.(field) - rangeLimits(2))...

5 years ago | 0

Answered
why Normal Distribution with Histogram not matching?
Use: histogram(Cp(:,Distribution_tap),30, 'Normalization', 'pdf')

5 years ago | 0

| accepted

Answered
Is it possible to fit with a Fourier series with more than 8 terms?
Curve Fitting Toolbox includes standard library models that contain between 1 and 8 Fourier terms. You could define a custom fit...

5 years ago | 1

Answered
How do I get more colours for scatter plot?
See the description of the c input argument on the documentation page for the scatter function. You want the "Assign different c...

5 years ago | 1

Answered
Hi, I keep getting index in position 2 is invalid. Array indices must be positive integers with an error in line 8 but I can’t figure it out . Can anyone please help thanks
There's no such thing as the 0.1st column of a matrix in MATLAB. You could use integers to index both into a vector a and a matr...

5 years ago | 0

Answered
num to uint8 output, How to as=num, uint8 output
as = 10; y = uint8(hex2dec(string(as))) That 0x followed by hex digits syntax is for defining literals, much like you'd type: ...

5 years ago | 0

| accepted

Answered
Class folders and passing variables to objects
My first Problem is, that the test specification is not passed as an argument. You've defined your constructor to accept two i...

5 years ago | 0

| accepted

Answered
How to change the colour of the markers on a scattered graph?
See the "Vary Circle Color" and "Fill the Markers" examples on the documentation page for the scatter function.

5 years ago | 0

Answered
Access data in two dimensional struct array
There's no guarantee that the field in the elements of a struct array have the same type or size, so making an array may not mak...

5 years ago | 0

Answered
Is it possible for Matlab to access files in Github?
If you mean clone a repository sure. See the Source Control Integration documentation. If you mean running MATLAB code (like te...

5 years ago | 0

| accepted

Answered
Hi, everyone! I need help on my problem. I have problem with an dde function. I will show you the code:
What signature does the documentation for dde23 state that the function whose handle you pass as the first input must have? "The...

5 years ago | 0

| accepted

Answered
How do you find the max within a specified window?
Depending on whether you want the windows to overlap or not, the movmax function (which did not exist when the question was aske...

5 years ago | 0

Answered
vgg16 not installed as Deep learning toolbox has missing this package
The solution is to install the free support package using the Add-On Explorer. If for whatever reason you can't use the Add-On E...

5 years ago | 0

| accepted

Answered
How do I input this into matlab as a numeric matrix?
Assuming you have numeric values for , , and and assuming J, Y, I, and K are referring to the various Bessel functions see the ...

5 years ago | 0

Answered
Solving the coupled system of ordinary differential equations in MATLAB
Convert your system of second order ODEs into a system of first order ODEs as demonstrated on this documentation page. That page...

5 years ago | 0

Answered
strsplit causing issues with several functions
Let's make sure you haven't created or downloaded a strsplit.m file that's taking precedence over the strsplit function included...

5 years ago | 0

Answered
Is the Compiler 2021a app compatible with Matlab R2020a?
Using a toolbox from one release with MATLAB from a different release (earlier or later) is not supported. So if you're using MA...

5 years ago | 0

| accepted

Answered
Network name license vs Individual license
For an official answer to licensing questions like this you should contact Customer Service using the Contact Support link under...

5 years ago | 0

Answered
How can I add a delay in a function of a function (DDE)?
The dde23 function is for solving delay differential equations with constant delays. The ddesd function is for solving delay di...

5 years ago | 1

| accepted

Answered
How to find the C=corresponding x axis values of a peak on Y-axis?
Index into the x vector using the output of islocalmax. x = 1:100; A = (1-cos(2*pi*0.01*x)).*sin(2*pi*0.15*x); tf = isloca...

5 years ago | 0

| accepted

Answered
passing handle objects by value
Have your class inherit from matlab.mixin.Copyable as described on this documentation page.

5 years ago | 0

| accepted

Answered
How to Skip two Array Elements with same length?
Often missing data is represented using NaN or missing.

5 years ago | 0

Load more